login
Header Space

 
 

Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on memory online to avoid panic(take 3)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Yasunori Goto <y-goto@...>, Linux Kernel ML <linux-kernel@...>, linux-mm <linux-mm@...>
Date: Thursday, October 18, 2007 - 2:25 am

On Wed, 17 Oct 2007, Andrew Morton wrote:


NUMA support in the slab allocators requires allocation of per node 
structures. The per node structures are folded into the global structure 
for non NUMA.


It would be bad to just zap a per node array while there is still data in 
there. This will cause later failures when an attempt is made to free the 
objects that now have no per node structure anymore.


Right.


Slab brings up a per node structure when the corresponding cpu is brought 
up. That was sufficient as long as we did not have any memoryless nodes. 
Now we may have to fix some things over there as well.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix warning in mm/slub.c, Olof Johansson, (Tue Oct 23, 12:21 am)
Re: [PATCH] Fix warning in mm/slub.c, Christoph Lameter, (Tue Oct 23, 12:21 pm)
Re: [PATCH] Fix warning in mm/slub.c, Yasunori Goto, (Tue Oct 23, 1:35 am)
Re: [PATCH] Fix warning in mm/slub.c, Pekka Enberg, (Tue Oct 23, 3:52 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on..., Christoph Lameter, (Thu Oct 18, 2:25 am)
Re: [Patch](memory hotplug) Make kmem_cache_node for SLUB on..., Christoph Lameter, (Thu Oct 18, 5:13 am)
speck-geostationary