Re: [RFC 2/2] mm, slub: add missing kmem_cache_debug() checks

2019-04-04 Thread Christopher Lameter
On Thu, 4 Apr 2019, Vlastimil Babka wrote: > Some debugging checks in SLUB are not hidden behind kmem_cache_debug() check. > Add the check so that those places can also benefit from reduced overhead > thanks to the the static key added by the previous patch. Hmmm... I would not expect too much

[RFC 2/2] mm, slub: add missing kmem_cache_debug() checks

2019-04-04 Thread Vlastimil Babka
Some debugging checks in SLUB are not hidden behind kmem_cache_debug() check. Add the check so that those places can also benefit from reduced overhead thanks to the the static key added by the previous patch. Signed-off-by: Vlastimil Babka --- mm/slub.c | 12 +++- 1 file changed, 11