slab: Update the kmem_cache_create documentation regarding the name parameter
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 21 Nov 2008 12:56:22 +0000 (12:56 +0000)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 26 Nov 2008 14:48:47 +0000 (16:48 +0200)
commit249da166582801648432d0198be9407fb5ccf9f5
tree15b101e9dec5be04fe080197ba489af44e098883
parented313489badef16d700f5a3be50e8fd8f8294bc8
slab: Update the kmem_cache_create documentation regarding the name parameter

kmem_cache implementations like slub are allowed to merge multiple
caches but only the initial name is preserved. Therefore,
kmem_cache_name() is not guaranteed to return the same pointer passed to
the former function. This patch updates the documentation to make this
clearer.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slab.c