]> Git Repo - linux.git/commit
x86: revert wrong memblock current limit setting
authorYinghai Lu <[email protected]>
Tue, 28 Jan 2014 01:06:50 +0000 (17:06 -0800)
committerLinus Torvalds <[email protected]>
Tue, 28 Jan 2014 05:02:38 +0000 (21:02 -0800)
commit4ce7a8697cb795fda6bdf082c14743b4bcd551c3
tree04c7c47717530b28602c7243d7efe28277c7908a
parentad6492b80f60a2139fa9bf8fd79b182fe5e3647c
x86: revert wrong memblock current limit setting

Dave reported big numa system booting is broken.

It turns out that commit 5b6e529521d3 ("x86: memblock: set current limit
to max low memory address") sets the limit to low wrongly.

max_low_pfn_mapped is different from max_pfn_mapped.
max_low_pfn_mapped is always under 4G.

That will memblock_alloc_nid all go under 4G.

Revert 5b6e529521d3 to fix a no-boot regression which was triggered by
457ff1de2d24 ("lib/swiotlb.c: use memblock apis for early memory
allocations").

Signed-off-by: Yinghai Lu <[email protected]>
Reported-by: Dave Hansen <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Cc: Russell King <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/include/asm/page_types.h
arch/x86/kernel/setup.c
This page took 0.054513 seconds and 4 git commands to generate.