From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754117Ab0KVPsm (ORCPT ); Mon, 22 Nov 2010 10:48:42 -0500 Received: from mail-gx0-f174.google.com ([209.85.161.174]:49552 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926Ab0KVPsl (ORCPT ); Mon, 22 Nov 2010 10:48:41 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=XDkCac0FGoLIAxZ6DnlFX9jU4OCmUr37kMeHhWBU4WqZR7iP9XGYXK6igkBebY+mWW N8EKoLCH91ojZ2ua3On8pcRIQeZIKLDHrYGvi+SaEnvBfMEmBWEUc9xk4Y7bu9owr40n 92YkI9qj3eUX0uROaYqD545rN1GXtNSyUjD0c= Date: Mon, 22 Nov 2010 23:51:52 +0800 From: =?utf-8?Q?Am=C3=A9rico?= Wang To: Shaohui Zheng Cc: =?utf-8?Q?Am=C3=A9rico?= Wang , 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: <20101122155151.GD4137@hack> References: <20101117020759.016741414@intel.com> <20101117021000.776651300@intel.com> <20101121144511.GJ9099@hack> <20101122000104.GA7986@shaohui> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20101122000104.GA7986@shaohui> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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. ;) Thanks. -- Live like a child, think like the god.