On Thu, Sep 05, 2024 at 09:56:55AM +0200, Christian Brauner wrote: > Use _Generic() to create a compatibility layer that type switches on the > third argument to either call __kmem_cache_create() or > __kmem_cache_create_args(). If NULL is passed for the struct > kmem_cache_args argument use default args making porting for callers > that don't care about additional arguments easy. > > Reviewed-by: Kees Cook <kees@xxxxxxxxxx> > Reviewed-by: Jens Axboe <axboe@xxxxxxxxx> > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> Reviewed-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>