• Andi Kleen's avatar
    [PATCH] NUMA API updates · 2150328b
    Andi Kleen authored
    This patch three issues in NUMA API
    
    - When 1 was passed to set_mempolicy or mbind as maxnodes argument
      get_nodes could corrupt the stack and cause a crash.  Fix that.
    
    - Remove the restriction to do interleaving only for order 0.  Together
      with the patch that went in previously to use interleaving policy at boot
      time this should give back the original behaviour of distributing the big
      hash tables.
    
    - Fix some bad white space in comments
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2150328b
mempolicy.c 26.1 KB