summaryrefslogtreecommitdiffstats
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorHugh Dickins2007-02-10 10:43:00 +0100
committerLinus Torvalds2007-02-11 19:51:17 +0100
commitc3704ceb4ad055b489b143f4e37c57d128908012 (patch)
tree730892c9d4d9dbab03c77597e822a7cb79c9cd96 /mm/vmstat.c
parent[PATCH] typeof __page_to_pfn with SPARSEMEM=y (diff)
downloadkernel-qcow2-linux-c3704ceb4ad055b489b143f4e37c57d128908012.tar.gz
kernel-qcow2-linux-c3704ceb4ad055b489b143f4e37c57d128908012.tar.xz
kernel-qcow2-linux-c3704ceb4ad055b489b143f4e37c57d128908012.zip
[PATCH] page_mkwrite caller race fix
After do_wp_page has tested page_mkwrite, it must release old_page after acquiring page table lock, not before: at some stage that ordering got reversed, leaving a (very unlikely) window in which old_page might be truncated, freed, and reused in the same position. Signed-off-by: Hugh Dickins <hugh@veritas.com> Acked-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions