On Sun, May 26, 2013 at 11:00:54AM +0200, Michal Hocko wrote: >On Sun 26-05-13 13:58:38, Wanpeng Li wrote: >> As KOSAKI Motohiro mentioned, memory hotplug don't support 32bit since >> it was born, > >Why? any reference? This reasoning is really weak. > http://marc.info/?l=linux-mm&m=136953099010171&w=2 >> this patch disable memory hotremove when 32bit at compile >> time. >> >> Suggested-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> >> Signed-off-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> >> --- >> mm/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/mm/Kconfig b/mm/Kconfig >> index e742d06..ada9569 100644 >> --- a/mm/Kconfig >> +++ b/mm/Kconfig >> @@ -184,6 +184,7 @@ config MEMORY_HOTREMOVE >> bool "Allow for memory hot remove" >> select MEMORY_ISOLATION >> select HAVE_BOOTMEM_INFO_NODE if X86_64 >> + depends on 64BIT >> depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE >> depends on MIGRATION >> >> -- >> 1.8.1.2 >> > >-- >Michal Hocko >SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>