x86-64, numa: Allocate memnodemap under max_pfn_mapped
commitdbef7b56d2fc5115f26f72a0b080283bbf972cab
authorYinghai Lu <yinghai@kernel.org>
Tue, 28 Dec 2010 00:48:08 +0000 (27 16:48 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 29 Dec 2010 23:48:08 +0000 (29 15:48 -0800)
tree996af99f718d77621793846c4ca7bf3973d46977
parent45635ab5e41bcde94a82f9a05d660ef77fe38c1b
x86-64, numa: Allocate memnodemap under max_pfn_mapped

We need to access it right way, so make sure that it is mapped already.

Prepare to put page table on local node, and nodemap is used before that.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4D1933C8.7060105@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/numa_64.c