From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: NUMA aware slab allocator V3 Date: Thu, 19 May 2005 09:14:01 -0700 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505190914.01772.jbarnes@virtuousgeek.org> Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: Matthew Dobson , Dave Hansen , "Martin J. Bligh" , Andy Whitcroft , Andrew Morton , linux-mm , Linux Kernel Mailing List , shai@scalex86.org, steiner@sgi.com List-ID: On Wednesday, May 18, 2005 10:07 pm, Christoph Lameter wrote: > Here is a revised patch. Would be good if someone could review my use > of online_cpu / online_node etc. Is there some way to bring cpus > online and offline to test if this really works? Seems that the code > in alloc_percpu is suspect even in the old allocator because it may > have to allocate memory for non present cpus. If you have hotplug enabled, I think you'll see an 'online' file that you can echo 1 or 0 into, somewhere in /sys/devices/system/cpu/cpu0 for example. It should work even on machines where it doesn't actually power down the slot (it'll just remove it from the online map, and it won't get scheduled on, etc.); at least it did last time I tested it. Jesse -- 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: aart@kvack.org