From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [RFC,5/7] NUMA hotplug emulator Date: Mon, 17 May 2010 11:38:48 +0200 Message-ID: <4BF10EA8.9050904@linux.intel.com> References: <20100513115625.GF2169@shaohui> <20100507141142.GA8696@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: 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, 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 List-Id: linux-acpi@vger.kernel.org , 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 tests a different code path. > It seems to add some numa magic. Why is it important? It tests memory and node hotadd too. Memory/node hotadd is a quite problematic feature and needs all the testing support it can get. -Andi -- 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