Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932645Ab0KWAvh (ORCPT ); Mon, 22 Nov 2010 19:51:37 -0500 Received: from mga03.intel.com ([143.182.124.21]:44208 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932424Ab0KWAvh (ORCPT ); Mon, 22 Nov 2010 19:51:37 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,239,1288594800"; d="scan'208";a="352005976" Date: Tue, 23 Nov 2010 07:29:46 +0800 From: Shaohui Zheng 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 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> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1925 Lines: 52 On Mon, Nov 22, 2010 at 11:51:52PM +0800, Am?rico 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, Am?rico 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 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/