aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2017-07-17 01:59:49 +0300
committerIngo Molnar <mingo@kernel.org>2017-07-21 10:05:18 +0200
commitdaaa42f04178ac7b02e4d43cdfc7fac48430152e (patch)
tree903f031f317a2d828f62477438b39bcce57de180 /arch/x86/mm/hugetlbpage.c
parentx86/mm/dump_pagetables: Fix printout of p4d level (diff)
downloadlinux-dev-daaa42f04178ac7b02e4d43cdfc7fac48430152e.tar.xz
linux-dev-daaa42f04178ac7b02e4d43cdfc7fac48430152e.zip
x86/xen: Redefine XEN_ELFNOTE_INIT_P2M using PUD_SIZE * PTRS_PER_PUD
XEN_ELFNOTE_INIT_P2M has to be 512GB for both 4- and 5-level paging. (PUD_SIZE * PTRS_PER_PUD) would do this. Unfortunately, we cannot use P4D_SIZE, which would fit here. With current headers structure it cannot be used in assembly, if p4d level is folded. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reviewed-by: Juergen Gross <jgross@suse.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arch@vger.kernel.org Cc: linux-mm@kvack.org Link: http://lkml.kernel.org/r/20170716225954.74185-4-kirill.shutemov@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions