diff options
| author | Hugh Dickins <[email protected]> | 2007-06-16 10:15:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-16 13:16:15 -0700 |
| commit | d6f8bb1310d4745ff1d0c74eeacae31e2a3eeff1 (patch) | |
| tree | 4048f434ec97b0b0415e3937c1e42be9cb6ca378 /include/linux/debugobjects.h | |
| parent | 30475cc12a50816f290828fb7e3cd7036cd622df (diff) | |
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 <[email protected]>
Cc: Zachary Amsden <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions