]> Git Repo - linux.git/commit
slub: improve kmem_cache_destroy() error message
authorPekka Enberg <[email protected]>
Wed, 23 Apr 2008 19:31:08 +0000 (22:31 +0300)
committerPekka Enberg <[email protected]>
Sun, 27 Apr 2008 15:26:06 +0000 (18:26 +0300)
commitd629d819579327267884a12de21ef6d4b539db88
treea3f7c40fbcaef54b0dce0affc8cadf101ace046d
parent0701a9e649bf0ffdac0a761d3c3d1041f5375d90
slub: improve kmem_cache_destroy() error message

As pointed out by Ingo, the SLUB warning of calling kmem_cache_destroy()
with cache that still has objects triggers in practice. So turn this
WARN_ON() into a nice SLUB specific error message to avoid people
confusing it to a SLUB bug.

Cc: Ingo Molnar <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
mm/slub.c
This page took 0.055711 seconds and 4 git commands to generate.