diff options
author | Stuart Bennett <stuart@freedesktop.org> | 2009-04-28 20:17:50 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 11:33:33 +0200 |
commit | 46e91d00b1165b14b484aa33800e1bba0794ae1a (patch) | |
tree | 553b7caebd9d7fcca282caa8b8b0a9acf6d71925 /include/linux/fcntl.h | |
parent | 0492e1bb8fe7d122901c9f3af75e537d4129712e (diff) | |
download | linux-46e91d00b1165b14b484aa33800e1bba0794ae1a.tar.gz linux-46e91d00b1165b14b484aa33800e1bba0794ae1a.tar.xz |
tracing: x86, mmiotrace: refactor clearing/restore of page presence
* change function names to clear_* from set_*: in reality we only clear
and restore page presence, and never unconditionally set present.
Using clear_*({true, false}, ...) is therefore more honest than
set_*({false, true}, ...)
* upgrade presence storage to pteval_t: doing user-space tracing will
require saving and manipulation of the _PAGE_PROTNONE bit, in addition
to the existing _PAGE_PRESENT changes, and having multiple bools stored
and passed around does not seem optimal
[ Impact: refactor, clean up mmiotrace code ]
Signed-off-by: Stuart Bennett <stuart@freedesktop.org>
Acked-by: Pekka Paalanen <pq@iki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1240946271-7083-4-git-send-email-stuart@freedesktop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/fcntl.h')
0 files changed, 0 insertions, 0 deletions