diff options
| author | Christoph Lameter <clameter@sgi.com> | 2006-10-07 01:19:44 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-07 13:51:14 -0400 |
| commit | dcbd4ec4c258f88d4cfd3c309c8a56faff061340 (patch) | |
| tree | bad0bb2821f1c2759b709ff29c592f14078ede95 /mm | |
| parent | ada26d41e9ee1da31d11957b4452f4227a292e10 (diff) | |
[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
| @@ -1328,7 +1328,6 @@ static void init_list(struct kmem_cache *cachep, struct kmem_list3 *list, | |||
| 1328 | { | 1328 | { |
| 1329 | struct kmem_list3 *ptr; | 1329 | struct kmem_list3 *ptr; |
| 1330 | 1330 | ||
| 1331 | BUG_ON(cachep->nodelists[nodeid] != list); | ||
| 1332 | ptr = kmalloc_node(sizeof(struct kmem_list3), GFP_KERNEL, nodeid); | 1331 | ptr = kmalloc_node(sizeof(struct kmem_list3), GFP_KERNEL, nodeid); |
| 1333 | BUG_ON(!ptr); | 1332 | BUG_ON(!ptr); |
| 1334 | 1333 | ||
