From: Peter Zijlstra Date: Tue, 26 Sep 2006 06:31:00 +0000 (-0700) Subject: [PATCH] mm: fixup do_wp_page() X-Git-Tag: v2.6.19-rc1~1221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6a6457886a80415db209e87033b63f2b06558c;p=pandora-kernel.git [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 Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed