diff options
| author | Nick Piggin <[email protected]> | 2009-01-06 14:39:11 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-06 15:59:00 -0800 |
| commit | d5482cdf8a0aacb1e6468a97d5544f5829c8d8c4 (patch) | |
| tree | 3565702c805deecd51e32ed1458f567a0064815d /include/linux/debugobjects.h | |
| parent | 515f4a037fb9ab736f8bad733fcd2ffd350cf265 (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 <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Dave Chinner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions