Re: Common [08/16] Move duping of slab name to slab_common.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There is a superfluous freeing of the slab name still in slub. Slab name
freeing is handled by slab_common after this patch therefore this has to
be dropped.


Index: linux-2.6/mm/slub.c
===================================================================
--- linux-2.6.orig/mm/slub.c	2012-08-02 10:20:38.987659870 -0500
+++ linux-2.6/mm/slub.c	2012-08-02 10:20:47.943820713 -0500
@@ -5188,7 +5188,6 @@
 {
 	struct kmem_cache *s = to_slab(kobj);

-	kfree(s->name);
 	kmem_cache_free(kmem_cache, s);
 }

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]