On Wed, May 24, 2023 at 03:53:11PM +0200, Vlastimil Babka wrote: > On 5/24/23 14:56, Hyeonggon Yoo wrote: > > On Wed, May 24, 2023 at 12:17:48PM +0200, David Sterba wrote: > > work for your use case? (there are some boot-time slub_debug options described in > > Documentation/mm/slub.rst) > > Yeah, it supports globbing so it would be e.g. slub_debug=N,btrfs* > That would deal with the "too coarse" aspect slab_nomerge. As for "need to > be enabled on all testing hosts", is it more convenient to deploy a debug > kernel build on them? Might be because you do that for other reasons > already? Just want to clarify. Yeah, agreed. > BTW this was proposed as RFC few months ago but not pursued: > https://lore.kernel.org/all/167396280045.539803.7540459812377220500.stgit@firesoul/ > > I have no big objections, just wouldn't like to see its usage proliferate > unconditionally into non-debug builds. It would be fine for me to make it conditionally available, e.g. depending on SLUB_DEBUG.