diff options
author | Thomas Gleixner <[email protected]> | 2018-09-17 16:29:14 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-27 20:39:39 +0200 |
commit | f61c5ba2885eabc7bc4b0b2f5232f475216ba446 (patch) | |
tree | c37d356a5996651e51cc648db4b84293e45eb4d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 69c31e69df3d2efc4ad7f53d500fdd920d3865a4 (diff) |
x86/mm/cpa: Add sanity check for existing mappings
With the range check it is possible to do a quick verification that the
current mapping is correct vs. the static protection areas.
In case a incorrect mapping is detected a warning is emitted and the large
page is split up. If the large page is a 2M page, then the split code is
forced to check the static protections for the PTE entries to fix up the
incorrectness. For 1G pages this can't be done easily because that would
require to either find the offending 2M areas before the split or
afterwards. For now just warn about that case and revisit it when reported.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Dave Hansen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Bin Yang <[email protected]>
Cc: Mark Gross <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions