Re: [PATCH] slub: remove useless kmem_cache_debug() before remove_full()

From: David Rientjes
Date: Tue Mar 19 2019 - 21:15:21 EST

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@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>