From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id 1BBEF6B0089 for ; Mon, 22 Nov 2010 19:51:38 -0500 (EST) Date: Tue, 23 Nov 2010 07:29:46 +0800 From: Shaohui Zheng Subject: Re: [5/8,v3] NUMA Hotplug Emulator: support cpu probe/release in x86 Message-ID: <20101122232946.GB11727@shaohui> References: <20101117020759.016741414@intel.com> <20101117021000.776651300@intel.com> <20101121144511.GJ9099@hack> <20101122000104.GA7986@shaohui> <20101122155151.GD4137@hack> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20101122155151.GD4137@hack> Sender: owner-linux-mm@kvack.org To: =?iso-8859-1?Q?Am=E9rico?= Wang Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, haicheng.li@linux.intel.com, lethal@linux-sh.org, ak@linux.intel.com, shaohui.zheng@linux.intel.com, Ingo Molnar , Len Brown , Yinghai Lu , Haicheng Li List-ID: On Mon, Nov 22, 2010 at 11:51:52PM +0800, Americo Wang wrote: > On Mon, Nov 22, 2010 at 08:01:04AM +0800, Shaohui Zheng wrote: > >On Sun, Nov 21, 2010 at 10:45:11PM +0800, Americo Wang wrote: > >> On Wed, Nov 17, 2010 at 10:08:04AM +0800, shaohui.zheng@intel.com wrote: > >> >From: Shaohui Zheng > >> > > >> >Add cpu interface probe/release under sysfs for x86. User can use this > >> >interface to emulate the cpu hot-add process, it is for cpu hotplug > >> >test purpose. Add a kernel option CONFIG_ARCH_CPU_PROBE_RELEASE for this > >> >feature. > >> > > >> >This interface provides a mechanism to emulate cpu hotplug with software > >> > methods, it becomes possible to do cpu hotplug automation and stress > >> >testing. > >> > > >> > >> Huh? We already have CPU online/offline... > >> > >> Can you describe more about the difference? > >> > >> Thanks. > > > >Again, we already try to discribe the difference between logcial cpu > >online/offline and physical cpu online/offline many times. > > > > I see, with "maxcpus=" we will only have the specified number > of CPU's which can be online/offline, you are trying to bring > the rest of CPU's hidden by "maxcpus=". :) Correct? Yes, when we online the rest CPUs, it test our cpu hot-add code logical. > > I think the idea is cool, but I think you need to improve > the documetion, for people who don't follow the hardware > concepts like me. ;) CPU hot-add is supported by only a few hardwares, so many users might never see such hardware, we should document it better. thanks for the remind. > > Thanks. > > -- > Live like a child, think like the god. > -- Thanks & Regards, Shaohui -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org