[SLAB] Introduce kmem_cache_name
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>
Sun, 19 Jun 2005 05:46:19 +0000 (22:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2005 05:46:19 +0000 (22:46 -0700)
commit1944972d3bb651474a5021c9da8d0166ae19f1eb
treecc638b40d8a7dfb4949d4a84a695ec8915c0fc2b
parentee57eef99b9e19194677f552ebc0690ec35d62db
[SLAB] Introduce kmem_cache_name

This is for use with slab users that pass a dynamically allocated slab name in
kmem_cache_create, so that before destroying the slab one can retrieve the name
and free its memory.

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/slab.h
mm/slab.c