On Wed, 28 Aug 2024 at 04:07, Christian Brauner <brauner@xxxxxxxxxx> wrote: > > static struct kmem_cache *create_cache(const char *name, > - unsigned int object_size, unsigned int align, > - slab_flags_t flags, unsigned int useroffset, > - unsigned int usersize, void (*ctor)(void *)) > + unsigned int object_size, unsigned int freeptr_offset, > + unsigned int align, slab_flags_t flags, > + unsigned int useroffset, unsigned int usersize, > + void (*ctor)(void *)) I actually think it would be nicer at this point to have a "kmem_cache create structure", and not 8 individual arguments. But this approach looks fine to me even without that. Linus