aboutsummaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2009-01-06 14:39:11 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-06 15:59:00 -0800
commitd5482cdf8a0aacb1e6468a97d5544f5829c8d8c4 (patch)
tree3565702c805deecd51e32ed1458f567a0064815d /ipc
parentmm: write_cache_pages optimise page cleaning (diff)
downloadlinux-dev-d5482cdf8a0aacb1e6468a97d5544f5829c8d8c4.tar.xz
linux-dev-d5482cdf8a0aacb1e6468a97d5544f5829c8d8c4.zip
mm: write_cache_pages terminate quickly
Terminate the write_cache_pages loop upon encountering the first page past end, without locking the page. Pages cannot have their index change when we have a reference on them (truncate, eg truncate_inode_pages_range performs the same check without the page lock). Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: Chris Mason <chris.mason@oracle.com> Cc: Dave Chinner <david@fromorbit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions