From: Nick Piggin Date: Wed, 22 Mar 2006 08:07:58 +0000 (-0800) Subject: [PATCH] mm: never ClearPageLRU released pages X-Git-Tag: v2.6.17-rc1~1129^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46453a6e194a8c55fe6cf3dc8e1c4f24e2abc013;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed