Re: [PATCH] mm/slub: disable slab merging in the default configuration

From: Lameter, Christopher
Date: Thu Jul 06 2023 - 14:27:22 EST


On Thu, 6 Jul 2023, Christoph Hellwig wrote:

The slab merging has always been bothering me as it makes debugging
things really hard. I agree with the other comments on improving
the commit log, but with that:

Debugging is enabled by specifying "slub_debug" on the kernel command line which disables merging and also enables checks so that data corruption does trigger meaningful messages for debugging.

Without that you may see errors coming from the slab subsystem that are due to data corruption by various subsystems. Without that it will be difficult to properly attribute errors anyways.