diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2006-09-25 23:31:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:44 -0700 |
commit | ee6a6457886a80415db209e87033b63f2b06558c (patch) | |
tree | 227351bf31ccc6153879cc900c5d6a822832b645 /mm/swap.c | |
parent | e88dd6c11c5aef74d8b74a062767add53315533b (diff) | |
download | linux-ee6a6457886a80415db209e87033b63f2b06558c.tar.bz2 |
[PATCH] mm: fixup do_wp_page()
Wrt. the recent modifications in do_wp_page() Hugh Dickins pointed out:
"I now realize it's right to the first order (normal case) and to the
second order (ptrace poke), but not to the third order (ptrace poke
anon page here to be COWed - perhaps can't occur without intervening
mprotects)."
This patch restores the old COW behaviour for anonymous pages.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions