aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracing
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 /scripts/tracing
parent515f4a037fb9ab736f8bad733fcd2ffd350cf265 (diff)
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 'scripts/tracing')
0 files changed, 0 insertions, 0 deletions