Home
last modified time | relevance | path

Searched hist:d0823576bf4b8eafce1b56f98613465a0352a376 (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dtruncate.cdiff d0823576bf4b8eafce1b56f98613465a0352a376 Tue Jul 26 02:12:25 CEST 2011 Hugh Dickins <hughd@google.com> mm: pincer in truncate_inode_pages_range

truncate_inode_pages_range()'s final loop has a nice pincer property,
bringing start and end together, squeezing out the last pages. But the
range handling missed out on that, just sliding up the range, perhaps
letting pages come in behind it. Add one more test to give it the same
pincer effect.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>