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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tang Chen Subject: Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug Date: Tue, 18 Aug 2015 19:28:11 +0800 Message-ID: <55D316CB.3010509@cn.fujitsu.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55D2D7C2.3090109@linux.intel.com> Sender: owner-linux-mm@kvack.org 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?= 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 List-Id: linux-pm@vger.kernel.org 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, 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by kanga.kvack.org (Postfix) with ESMTP id 80D436B0254 for ; Tue, 18 Aug 2015 07:29:48 -0400 (EDT) Received: by pabyb7 with SMTP id yb7so131046675pab.0 for ; Tue, 18 Aug 2015 04:29:48 -0700 (PDT) Received: from heian.cn.fujitsu.com ([59.151.112.132]) by mx.google.com with ESMTP id s13si29957479pdi.27.2015.08.18.04.29.46 for ; Tue, 18 Aug 2015 04:29:47 -0700 (PDT) Message-ID: <55D316CB.3010509@cn.fujitsu.com> Date: Tue, 18 Aug 2015 19:28:11 +0800 From: Tang Chen MIME-Version: 1.0 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: owner-linux-mm@kvack.org List-ID: 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. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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 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.