From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx119.postini.com [74.125.245.119]) by kanga.kvack.org (Postfix) with SMTP id D7FE16B0083 for ; Sun, 26 May 2013 05:00:58 -0400 (EDT) Received: by mail-wg0-f50.google.com with SMTP id k13so3550535wgh.17 for ; Sun, 26 May 2013 02:00:57 -0700 (PDT) Date: Sun, 26 May 2013 11:00:54 +0200 From: Michal Hocko Subject: Re: [patch v2 3/6] mm/memory_hotplug: Disable memory hotremove for 32bit Message-ID: <20130526090054.GE10651@dhcp22.suse.cz> References: <1369547921-24264-1-git-send-email-liwanp@linux.vnet.ibm.com> <1369547921-24264-3-git-send-email-liwanp@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369547921-24264-3-git-send-email-liwanp@linux.vnet.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Wanpeng Li Cc: Andrew Morton , KAMEZAWA Hiroyuki , KOSAKI Motohiro , David Rientjes , Jiang Liu , Tang Chen , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , stable@vger.kernel.org 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. > this patch disable memory hotremove when 32bit at compile > time. > > Suggested-by: KOSAKI Motohiro > Signed-off-by: Wanpeng Li > --- > 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@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org