答复: [外部邮件] Re: [PATCH] mm/dmapool: remove redundant DMAPOOL_DEBUG macro

From: Li,Rongqing(ACG CCN)

Date: Fri May 22 2026 - 20:11:27 EST


>
> I think a more useful change would be to remove the usage of
> CONFIG_SLUB_DEBUG_ON completely and rather (re)use a boot option that
> uses a static key. CONFIG_SLUB_DEBUG_ON is only useful for bots running
> randconfigs, otherwise normally for debugging a specific problem one
> doesn't want to rebuild a kernel with CONFIG_SLUB_DEBUG_ON, but just
> reboot with a boot option slab_debug[=...] (for slab itself) or
> debug_pagealloc=on etc.
>
> (same thing should be done for the usage in mm/mempool.c btw)

Good idea, I will send v2

Thanks


[Li,Rongqing]