Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752448AbbHRLaA (ORCPT ); Tue, 18 Aug 2015 07:30:00 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:57035 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750928AbbHRL35 (ORCPT ); Tue, 18 Aug 2015 07:29:57 -0400 X-IronPort-AV: E=Sophos;i="5.15,520,1432569600"; d="scan'208";a="99762177" Message-ID: <55D316CB.3010509@cn.fujitsu.com> Date: Tue, 18 Aug 2015 19:28:11 +0800 From: Tang Chen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 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" , , "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 , , , , Ingo Molnar , , Subject: Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug 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> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 666 Lines: 25 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/