Re: [PATCH v2] slab: Warn on duplicate cache names when DEBUG_VM=y

From: Christoph Lameter (Ampere)
Date: Wed Aug 07 2024 - 13:32:33 EST


On Wed, 7 Aug 2024, Pedro Falcato wrote:

Duplicate slab cache names can create havoc for userspace tooling that
expects slab cache names to be unique. This is a reasonable expectation.

Yes that is reasonable. This is done during slab creation and so is not a performance sensitive operation. The sanity check could be done even without CONFIG_DEBUG_VM

Acked-by: Christoph Lameter <cl@xxxxxxxxx>