diff options
author | Nick Piggin <npiggin@suse.de> | 2006-03-22 03:07:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-22 10:53:56 -0500 |
commit | 46453a6e194a8c55fe6cf3dc8e1c4f24e2abc013 (patch) | |
tree | e407665e6c8cdf33814007750c49fdbea0a21e0e /kernel | |
parent | 2492ecc1a16b8ccf679d2999dca4f1b48aef07ee (diff) |
[PATCH] mm: never ClearPageLRU released pages
If vmscan finds a zero refcount page on the lru list, never ClearPageLRU
it. This means the release code need not hold ->lru_lock to stabilise
PageLRU, so that lock may be skipped entirely when releasing !PageLRU pages
(because we know PageLRU won't have been temporarily cleared by vmscan,
which was previously guaranteed by holding the lock to synchronise against
vmscan).
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions