linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* 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

only message in thread, other threads:[~2019-03-20  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1552577313-2830-1-git-send-email-liu.xiang6@zte.com.cn>
2019-03-20  1:15 ` [PATCH] slub: remove useless kmem_cache_debug() before remove_full() David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox