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

From: Christopher Lameter
Date: Thu Apr 04 2019 - 12:40:55 EST


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 of a benefit from these changes since
most of the stuff is actually not on the hot path.