diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2007-07-26 19:41:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 20:35:17 +0200 |
commit | 3dd9fe8c397df68086e6a1b2160573abbe944813 (patch) | |
tree | 86dda41ade146e2a403151c7ba2f7e32a930bc63 /mm/quicklist.c | |
parent | memory unplug: migration by kernel (diff) | |
download | linux-3dd9fe8c397df68086e6a1b2160573abbe944813.tar.xz linux-3dd9fe8c397df68086e6a1b2160573abbe944813.zip |
memory unplug: isolate_lru_page fix
release_pages() in mm/swap.c changes page_count() to be 0 without removing
PageLRU flag...
This means isolate_lru_page() can see a page, PageLRU() &&
page_count(page)==0.. This is BUG. (get_page() will be called against
count=0 page.)
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions