On Fri, Mar 02, 2018 at 01:18:01PM +0800, Baoquan He wrote: > Userspace utility needs to know if the corrupted kernel is in > 5-level paging mode. So write 'pgtable_l5_enabled' to vmcoreinfo. > It covers below three cases: > pgtable_l5_enabled == 0 when > Compile kernel with CONFIG_X86_5LEVEL=n > Compile with CONFIG_X86_5LEVEL=y while cpu has no 'la57' flag > > pgtable_l5_enabled != 0 when > Compile with CONFIG_X86_5LEVEL=y and cpu has 'la57' flag > > Signed-off-by: Baoquan He <b...@redhat.com>
Acked-by: Kirill A. Shutemov <kirill.shute...@linux.intel.com> -- Kirill A. Shutemov