Re: 2.6.21-mm1 and now 2.6.21-git: SLUB Crashes on boot

Christoph Lameter
2007-05-08T23:08:54Z

It seems that a uevent notification fails.

Does this patch fix it?

---
mm/slub.c | 1 -
1 file changed, 1 deletion(-)

Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c 2007-05-08 16:06:54.000000000 -0700
+++ linux-2.6/mm/slub.c 2007-05-08 16:07:11.000000000 -0700
@@ -3438,7 +3438,6 @@ static int sysfs_slab_add(struct kmem_ca
err = sysfs_create_group(&s->kobj, &slab_attr_group);
if (err)
return err;
- kobject_uevent(&s->kobj, KOBJ_ADD);
if (!unmergeable) {
/* Setup first alias */
sysfs_slab_alias(s, s->name);