projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af537b0
)
Revert "slub: Allow removal of slab caches during boot"
author
Pekka Enberg
<penberg@cs.helsinki.fi>
Tue, 3 Aug 2010 04:28:21 +0000
(07:28 +0300)
committer
Pekka Enberg
<penberg@cs.helsinki.fi>
Tue, 3 Aug 2010 04:28:21 +0000
(07:28 +0300)
This reverts commit
f5b801ac38a9612b380ee9a75ab1861f0594e79f
.
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index
9cf5dae
..
f0f4036
100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-4498,13
+4498,6
@@
static int sysfs_slab_add(struct kmem_cache *s)
static void sysfs_slab_remove(struct kmem_cache *s)
{
- if (slab_state < SYSFS)
- /*
- * Sysfs has not been setup yet so no need to remove the
- * cache from sysfs.
- */
- return;
-
kobject_uevent(&s->kobj, KOBJ_REMOVE);
kobject_del(&s->kobj);
kobject_put(&s->kobj);