diff options
author | Minchan Kim <minchan@kernel.org> | 2012-08-01 01:42:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-01 03:42:42 +0200 |
commit | 97d255c816946388bab504122937730d3447c612 (patch) | |
tree | 828927fe44ebb6c0bd6cfd2a0da36b68ed45b4ba /arch/sh/configs/se7206_defconfig | |
parent | mm, oom: replace some information in tasklist dump (diff) | |
download | linux-97d255c816946388bab504122937730d3447c612.tar.xz linux-97d255c816946388bab504122937730d3447c612.zip |
mm: do not use page_count() without a page pin
d179e84ba ("mm: vmscan: do not use page_count without a page pin") fixed
this problem in vmscan.c but same problem is in __count_immobile_pages().
I copy and paste d179e84ba's contents for description.
"It is unsafe to run page_count during the physical pfn scan because
compound_head could trip on a dangling pointer when reading
page->first_page if the compound page is being freed by another CPU."
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.cz>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Wanpeng Li <liwp.linux@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/configs/se7206_defconfig')
0 files changed, 0 insertions, 0 deletions