--- mm/slub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6.23-rc3-mm1/mm/slub.c =================================================================== --- linux-2.6.23-rc3-mm1.orig/mm/slub.c 2007-08-23 12:26:55.000000000 -0700 +++ linux-2.6.23-rc3-mm1/mm/slub.c 2007-08-23 12:28:07.000000000 -0700 @@ -1424,8 +1424,10 @@ static void flush_all(struct kmem_cache */ static inline int node_match(struct kmem_cache_cpu *c, int node) { + if (node == -1) + return 0; #ifdef CONFIG_NUMA - if (node != -1 && c->node != node) + if (c->node != node) return 0; #endif return 1;