x86/mm: Turn CONFIG_X86_PTDUMP into a module
authorKees Cook <keescook@chromium.org>
Fri, 20 Nov 2015 01:07:55 +0000 (17:07 -0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 23 Nov 2015 09:50:13 +0000 (10:50 +0100)
commit8609d1b5daa36350e020e737946c40887af1743a
treeee0647a1fac4a9f752a5670fc68d48a059f0424e
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
x86/mm: Turn CONFIG_X86_PTDUMP into a module

Being able to examine page tables is handy, so make this a
module that can be loaded as needed.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Toshi Kani <toshi.kani@hpe.com>
Cc: Vladimir Murzin <vladimir.murzin@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/20151120010755.GA9060@www.outflux.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig.debug
arch/x86/mm/Makefile
arch/x86/mm/debug_pagetables.c [new file with mode: 0644]
arch/x86/mm/dump_pagetables.c