Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-04-10 10:27:29.000000000 -0700 +++ linux-2.6/mm/slub.c 2008-04-10 10:28:02.000000000 -0700 @@ -1174,6 +1174,8 @@ if (!page) goto out; + /* Must use the node that the page allocator determined for us. */ + node = page_to_nid(page); inc_slabs_node(s, node, page->objects); page->slab = s; page->flags |= 1 << PG_slab;