]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mm: Set memblock initial limit to 1M
authorYinghai Lu <yinghai@kernel.org>
Sat, 17 Nov 2012 03:38:46 +0000 (19:38 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:07 +0000 (11:59 -0800)
commit84ccfdca2a9b0d8469216fa6438f128c8d90eb7c
treec3bf09061dc2987c0c472df3a66cc16d55ec6745
parent5f6bf793b99911d48ba369d91d07da5fc6376d19
x86, mm: Set memblock initial limit to 1M

memblock_x86_fill() could double memory array.
If we set memblock.current_limit to 512M, so memory array could be around 512M.
So kdump will not get big range (like 512M) under 1024M.

Try to put it down under 1M, it would use about 4k or so, and that is limited.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-10-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c