* Re: [PATCH] slub: remove useless kmem_cache_debug() before remove_full()
[not found] <1552577313-2830-1-git-send-email-liu.xiang6@zte.com.cn>
@ 2019-03-20 1:15 ` David Rientjes
0 siblings, 0 replies; only message in thread
From: David Rientjes @ 2019-03-20 1:15 UTC (permalink / raw)
To: Liu Xiang
Cc: cl, penberg, iamjoonsoo.kim, akpm, linux-mm, linux-kernel, liuxiang_1999
On Thu, 14 Mar 2019, Liu Xiang wrote:
> When CONFIG_SLUB_DEBUG is not enabled, remove_full() is empty.
> While CONFIG_SLUB_DEBUG is enabled, remove_full() can check
> s->flags by itself. So kmem_cache_debug() is useless and
> can be removed.
>
> Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
Acked-by: David Rientjes <rientjes@google.com>
^ permalink raw reply [flat|nested] only message in thread