On Thu, Sep 05, 2024 at 09:56:52AM +0200, Christian Brauner wrote: > Pass down struct kmem_cache_args to calculate_sizes() so we can use > args->{use}_freeptr_offset directly. This allows us to remove > ->rcu_freeptr_offset from struct kmem_cache. > > Reviewed-by: Kees Cook <kees@xxxxxxxxxx> > Reviewed-by: Jens Axboe <axboe@xxxxxxxxx> > Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx> > Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx> > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> Reviewed-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>