diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-10-06 22:19:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-07 10:51:14 -0700 |
commit | dcbd4ec4c258f88d4cfd3c309c8a56faff061340 (patch) | |
tree | bad0bb2821f1c2759b709ff29c592f14078ede95 /mm | |
parent | ada26d41e9ee1da31d11957b4452f4227a292e10 (diff) | |
download | linux-stable-dcbd4ec4c258f88d4cfd3c309c8a56faff061340.tar.gz linux-stable-dcbd4ec4c258f88d4cfd3c309c8a56faff061340.tar.bz2 linux-stable-dcbd4ec4c258f88d4cfd3c309c8a56faff061340.zip |
[PATCH] slab: remove wrongly placed BUG_ON
Init list is called with a list parameter that is not equal to the
cachep->nodelists entry under NUMA if more than one node exists. This is
fully legitimatei. One may want to populate the list fields before
switching nodelist pointers.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c index 64fb0d770b06..266449d604bd 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1328,7 +1328,6 @@ static void init_list(struct kmem_cache *cachep, struct kmem_list3 *list, { struct kmem_list3 *ptr; - BUG_ON(cachep->nodelists[nodeid] != list); ptr = kmalloc_node(sizeof(struct kmem_list3), GFP_KERNEL, nodeid); BUG_ON(!ptr); |