On Fri, Sep 13, 2024 at 10:37:14AM GMT, Vlastimil Babka wrote: > As kmem_cache_create() became a _Generic() wrapper macro, it currently > has no kerneldoc despite being the main API to use. Add it. Also adjust > kmem_cache_create_usercopy() kerneldoc to indicate it is now a legacy > wrapper. > > Also expand the kerneldoc for struct kmem_cache_args, especially for the > freeptr_offset field, where important details were removed with the > removal of kmem_cache_create_rcu(). > > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> > --- > A late change, but only changes comments and it means we won't regress > the kerneldocs due to the refactoring. Further improvements are possible > (i.e. turning descriptions of the main SLAB_ flags to kerneldocs) but > that can wait. Looks good to me, Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>