Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d45f39cb06610ea456e1d689149b9becacda8b40 Commit: d45f39cb06610ea456e1d689149b9becacda8b40 Parent: 6300ea75031e7aebfe3331245b7f750d82621223 Author: Christoph Lameter <[EMAIL PROTECTED]> AuthorDate: Tue Jul 17 04:03:21 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue Jul 17 10:23:01 2007 -0700
SLUB Debug: fix initial object debug state of NUMA bootstrap objects The function we are calling to initialize object debug state during early NUMA bootstrap sets up an inactive object giving it the wrong redzone signature. The bootstrap nodes are active objects and should have active redzone signatures. Currently slab validation complains and reverts the object to active state. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- mm/slub.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 03ae549..a187088 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1876,7 +1876,8 @@ static struct kmem_cache_node * __init early_kmem_cache_node_alloc(gfp_t gfpflag page->freelist = get_freepointer(kmalloc_caches, n); page->inuse++; kmalloc_caches->node[node] = n; - setup_object_debug(kmalloc_caches, page, n); + init_object(kmalloc_caches, n, 1); + init_tracking(kmalloc_caches, n); init_kmem_cache_node(n); atomic_long_inc(&n->nr_slabs); add_partial(n, page); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html