From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id 82D3C6B01E3 for ; Sun, 16 May 2010 13:45:16 -0400 (EDT) Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by e7.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o4GHYc8c004158 for ; Sun, 16 May 2010 13:34:38 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o4GHj70j148158 for ; Sun, 16 May 2010 13:45:07 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o4GHj5ho024448 for ; Sun, 16 May 2010 13:45:07 -0400 Date: Sun, 16 May 2010 10:45:02 -0700 From: "Paul E. McKenney" Subject: Re: [RFC,5/7] NUMA hotplug emulator Message-ID: <20100516174502.GI2418@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <20100513115625.GF2169@shaohui> <20100507141142.GA8696@ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100507141142.GA8696@ucw.cz> Sender: owner-linux-mm@kvack.org To: Pavel Machek Cc: akpm@linux-foundation.org, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Andi Kleen , Hidetoshi Seto , Len Brown , "Rafael J. Wysocki" , Yinghai Lu , Thomas Renninger , David Rientjes , Mel Gorman , Venkatesh Pallipadi , Alex Chiang , Tejun Heo , Christoph Lameter , Greg Kroah-Hartman , Stephen Rothwell , Benjamin Herrenschmidt , Shaohua Li , Jean Delvare , Hugh Dickins , James Bottomley , linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, linux-acpi@vger.kernel.org, fengguang.wu@intel.com, haicheng.li@linux.intel.com, shaohui.zheng@linux.intel.com List-ID: On Fri, May 07, 2010 at 04:11:42PM +0200, Pavel Machek wrote: > Hi! > > > hotplug emulator: Abstract cpu register functions > > > > Abstract function arch_register_cpu and register_cpu, move the implementation > > details to a sub function with prefix "__". > > > > each of the sub function has an extra parameter nid, it can be used to register > > CPU under a fake NUMA node, it is a reserved interface for cpu hotplug emulation > > (CPU PROBE/RELEASE) in x86. > > I don't get it. CPU hotplug can already be tested using echo 0/1 > > online, and that works on 386. How is this different? > > It seems to add some numa magic. Why is it important? My guess is that he wants to test the software surrounding NUMA on a non-NUMA (or different-NUMA) machine, perhaps in order to shake out bugs before the corresponding hardware is available. Thanx, Paul -- 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