summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-12-16 03:14:39 +0300
committerIngo Molnar <mingo@kernel.org>2017-12-22 22:13:00 +0300
commitc05344947b37f7cda726e802457370bc6eac4d26 (patch)
treea732c27364c81fb573588442da9539ffa464e87b /tools/perf/scripts/python/export-to-sqlite.py
parent7bbcbd3d1cdcbacd0f9f8dc4c98d550972f1ca30 (diff)
downloadlinux-c05344947b37f7cda726e802457370bc6eac4d26.tar.xz
x86/mm/dump_pagetables: Check PAGE_PRESENT for real
The check for a present page in printk_prot(): if (!pgprot_val(prot)) { /* Not present */ is bogus. If a PTE is set to PAGE_NONE then the pgprot_val is not zero and the entry is decoded in bogus ways, e.g. as RX GLB. That is confusing when analyzing mapping correctness. Check for the present bit to make an informed decision. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Juergen Gross <jgross@suse.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions