From: Hugh Dickins Date: Sat, 16 Jun 2007 17:15:59 +0000 (-0700) Subject: i386 mm: use pte_update() in ptep_test_and_clear_dirty() X-Git-Tag: v2.6.22-rc5~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6f8bb1310d4745ff1d0c74eeacae31e2a3eeff1;p=pandora-kernel.git i386 mm: use pte_update() in ptep_test_and_clear_dirty() It is not safe to use pte_update_defer() in ptep_test_and_clear_young(): its only user, /proc//clear_refs, drops pte lock before flushing TLB. Use the safe though less efficient pte_update() paravirtop in its place. Likewise in ptep_test_and_clear_dirty(), though that has no current use. These are macros (header file dependency stops them from becoming inline functions), so be more liberal with the underscores and parentheses. Signed-off-by: Hugh Dickins Cc: Zachary Amsden Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed