On Wed, May 22, 2024 at 04:46:27PM +0900, Sukrit Bhatnagar wrote: > On the other hand, the struct slab has kmem_cache which maintains another set > of flags. It would be nice to have these flags added as a part of the debug > output, and to have a convenient way to print them. I don't understand why the slab cache flags are the interesting thing. Seems to me it'd be more useful to print slab->slab_cache->name and then you'd be able to look up the flags from that, as well as get a lot more information.