|
@@ -1316,8 +1316,6 @@ void __init kmem_cache_init_late(void)
|
|
{
|
|
{
|
|
struct kmem_cache *cachep;
|
|
struct kmem_cache *cachep;
|
|
|
|
|
|
- slab_state = UP;
|
|
|
|
-
|
|
|
|
/* 6) resize the head arrays to their final sizes */
|
|
/* 6) resize the head arrays to their final sizes */
|
|
mutex_lock(&slab_mutex);
|
|
mutex_lock(&slab_mutex);
|
|
list_for_each_entry(cachep, &slab_caches, list)
|
|
list_for_each_entry(cachep, &slab_caches, list)
|
|
@@ -1353,8 +1351,6 @@ static int __init cpucache_init(void)
|
|
slab_online_cpu, slab_offline_cpu);
|
|
slab_online_cpu, slab_offline_cpu);
|
|
WARN_ON(ret < 0);
|
|
WARN_ON(ret < 0);
|
|
|
|
|
|
- /* Done! */
|
|
|
|
- slab_state = FULL;
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
__initcall(cpucache_init);
|
|
__initcall(cpucache_init);
|