diff options
author | 2011-06-15 15:08:51 -0700 | |
---|---|---|
committer | 2011-06-15 20:04:02 -0700 | |
commit | d179e84ba5da1d0024087d1759a2938817a00f3f (patch) | |
tree | 169c9cc4030a793df1bc29613eff85ee3acef9a9 /tools/perf/scripts/python | |
parent | mm: compaction: ensure that the compaction free scanner does not move to the next zone (diff) | |
download | linux-dev-d179e84ba5da1d0024087d1759a2938817a00f3f.tar.xz linux-dev-d179e84ba5da1d0024087d1759a2938817a00f3f.zip |
mm: vmscan: do not use page_count without a page pin
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.
[mgorman@suse.de: split out patch]
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions