2019-03-20 01:16:09

by David Rientjes

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

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 <[email protected]>

Acked-by: David Rientjes <[email protected]>