From: Jens Axboe Date: Sun, 2 Apr 2006 21:11:04 +0000 (+0200) Subject: [PATCH] splice: fix page stealing LRU handling. X-Git-Tag: v2.6.17-rc1~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e7ee3e7b36fa4e2d88d8fb0a2577be95fc4636d;p=pandora-kernel.git [PATCH] splice: fix page stealing LRU handling. Originally from Nick Piggin, just adapted to the newer branch. You can't check PageLRU without holding zone->lru_lock. The page release code can get away with it only because the page refcount is 0 at that point. Also, you can't reliably remove pages from the LRU unless the refcount is 0. Ever. Signed-off-by: Nick Piggin Signed-off-by: Jens Axboe --- Reading git-diff-tree failed