From: David Rientjes Date: Sun, 6 May 2007 21:49:19 +0000 (-0700) Subject: i386: add ptep_test_and_clear_{dirty,young} X-Git-Tag: v2.6.22-rc1~983 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a8d6ae4b3182d6588a5809a8366343bc295c20;p=pandora-kernel.git i386: add ptep_test_and_clear_{dirty,young} Add ptep_test_and_clear_{dirty,young} to i386. They advertise that they have it and there is at least one place where it needs to be called without the page table lock: to clear the accessed bit on write to /proc/pid/clear_refs. ptep_clear_flush_{dirty,young} are updated to use the new functions. The overall net effect to current users of ptep_clear_flush_{dirty,young} is that we introduce an additional branch. Cc: Hugh Dickins Cc: Ingo Molnar Signed-off-by: David Rientjes Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed