[LinuxPPS] 21 Oct 20:35 - [PATCH] Slab: Do not fallback to nodes that have not been bootstrapped yet

linuxpps, Christoph Lameter <> webmaster at enneenne.com
Tue Oct 24 11:11:08 CEST 2006


[PATCH] Slab: Do not fallback to nodes that have not been bootstrapped yet  
  
The zonelist may contain zones of nodes that have not been bootstrapped and  
we will oops if we try to allocate from those zones. So check if the node  
information for the slab and the node have been setup before attempting an  
allocation. If it has not been setup then skip that zone.  
  
Usually we will not encounter this situation since the slab bootstrap code  
avoids falling back before we have setup the respective nodes but we seem  
to have a special needs for pppc.  
  
Signed-off-by: Christoph Lameter   
  
Acked-by: Andy Whitcroft   
  
Cc: Paul Mackerras   
  
Cc: Mike Kravetz   
  
Cc: Benjamin Herrenschmidt   
  
Acked-by: Mel Gorman   
  
Acked-by: Will Schmidt   
  
Signed-off-by: Andrew Morton   
  
Signed-off-by: Linus Torvalds   
  
  
mm/slab.c

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=aedb0eb107961a234f7c38e53da65a8f7ea992a9



More information about the LinuxPPS mailing list