From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tang Chen Date: Tue, 18 Aug 2015 11:28:11 +0000 Subject: Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug Message-Id: <55D316CB.3010509@cn.fujitsu.com> List-Id: References: <1439781546-7217-1-git-send-email-jiang.liu@linux.intel.com> <1439781546-7217-10-git-send-email-jiang.liu@linux.intel.com> <55D2CC76.4020100@cn.fujitsu.com> <55D2D7C2.3090109@linux.intel.com> In-Reply-To: <55D2D7C2.3090109@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jiang Liu , Andrew Morton , Mel Gorman , David Rientjes , Mike Galbraith , Peter Zijlstra , "Rafael J . Wysocki" , Tejun Heo , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, "Rafael J. Wysocki" , Len Brown , Pavel Machek , Borislav Petkov , Andy Lutomirski , Boris Ostrovsky , Dave Hansen , =?windows-1252?Q?=22Jan_H=2E?= =?windows-1252?Q?_Sch=F6nherr=22?= , Igor Mammedov , "Paul E. McKenney" , Xishi Qiu , Luiz Capitulino , Dave Young Cc: Tony Luck , linux-mm@kvack.org, linux-hotplug@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , linux-pm@vger.kernel.org, tangchen@cn.fujitsu.com On 08/18/2015 02:59 PM, Jiang Liu wrote: > > ... >>> } >>> @@ -739,6 +746,22 @@ void __init init_cpu_to_node(void) >>> if (!node_online(node)) >>> node = find_near_online_node(node); Hi Liu, If cpu-less, memory-less and normal node will all be online anyway, I think we don't need to find_near_online_node() any more for CPUs on offline nodes. Or is there any other case ? Thanks.