aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2010-10-28 09:50:17 -0700
committerH. Peter Anvin <[email protected]>2010-10-28 15:52:36 -0700
commit419db274bed4269f475a8e78cbe9c917192cfe8b (patch)
treeb46d6910ed8075fd901fcbe964984ea20a2dfd74 /net/unix/sysctl_net_unix.c
parent47f19a0814e80e1d4e5c17d61b70fca85ea09162 (diff)
x86, memblock: Fix early_node_mem with big reserved region.
Xen can reserve huge amounts of memory for pre-ballooning, but that still shows as RAM in the e820 memory map. early_node_mem could not find range because of start/end adjusting, and will go through the fallback path. However, the fallback patch is still using memblock_x86_find_range_node(), and it is partially top-down because it go through active_range entries from low to high. Let's use memblock_find_in_range instead memblock_x86_find_range_node. So get real top down in fallback path. We may still need to make memblock_x86_find_range_node to do overall top_down work. Reported-by: Jeremy Fitzhardinge <[email protected]> Tested-by: Jeremy Fitzhardinge <[email protected]> Tested-by: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions