Re: [PATCH] mm/mempool: use static key for boot-time debug enablement

From: Matthew Wilcox

Date: Wed May 27 2026 - 18:14:32 EST


On Wed, May 27, 2026 at 02:29:22PM -0700, Christoph Lameter (Ampere) wrote:
> Oh someone put an #ifdef CONFIG_SLUB_DEBUG_ON in mempool.c. Overloading
> the meaning of SLUB_DEBUG_ON as it is used in slub.c with something else.
>
> Someone was assuming that SLUB_DEBUG_ON means the same as SLUB_DEBUG?
>
> Please clean this mess up.

Isn't that what this patch does?