Hugh Dickins d6f8bb1310 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/<pid>/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 <hugh@veritas.com>
Cc: Zachary Amsden <zach@vmware.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-16 13:16:15 -07:00
..
2006-12-08 08:28:39 -08:00
2007-05-08 11:15:20 -07:00
2007-03-05 07:57:52 -08:00
2007-05-02 19:27:15 +02:00
2007-04-25 22:23:33 -07:00
2007-02-16 08:13:59 -08:00
2007-03-05 07:57:50 -08:00
2006-10-03 08:03:41 -07:00
2007-05-09 12:30:57 -07:00
2007-02-16 08:13:59 -08:00
2007-05-02 19:27:20 +02:00
2007-05-02 19:27:16 +02:00
2007-05-12 11:26:22 -07:00
2007-05-11 08:29:34 -07:00
2007-02-13 13:26:21 +01:00
2007-05-02 19:02:34 -07:00
2007-05-02 19:27:16 +02:00
2007-05-08 11:15:20 -07:00
2007-05-09 12:30:56 -07:00
2007-03-05 07:57:52 -08:00
2007-05-21 09:18:19 -07:00
2007-03-05 07:57:51 -08:00
2006-12-15 08:47:51 -08:00
2006-10-12 22:25:03 -05:00
2007-03-05 07:57:52 -08:00