diff --git a/mm/slab.c b/mm/slab.c index 09187517f9dc64804cc80453db0be0a72bcbf922..c366e3910e89b6a2e150c6b4107d978d9b829364 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -2123,6 +2123,8 @@ static int __init_refok setup_cpu_cache(struct kmem_cache *cachep) * * @name must be valid until the cache is destroyed. This implies that * the module calling this has to destroy the cache before getting unloaded. + * Note that kmem_cache_name() is not guaranteed to return the same pointer, + * therefore applications must manage it themselves. * * The flags are *