diff options
author | Dave Hansen <[email protected]> | 2015-06-07 11:37:04 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-06-09 12:24:33 +0200 |
commit | a1149fc83a1f97612e72ec24a0bdbabff7b85e77 (patch) | |
tree | 6bc1db6d8c3cbf20c3b3fe30de585a41a7180c2e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | b0e9b09b3bd64e67bba862e238d3757b2482b6de (diff) |
x86/mpx: Add temporary variable to reduce masking
When we allocate a bounds table, we call mmap(), then add a
"valid" bit to the value before storing it in to the bounds
directory.
If we fail along the way, we go and mask that valid bit
_back_ out. That seems a little silly, and this makes it
much more clear when we have a plain address versus an
actual table _entry_.
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions