aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2024-09-05 07:56:52 +0000
committerVlastimil Babka <[email protected]>2024-09-10 09:42:58 +0000
commitdacf472bcdfa4f3b08cd2c1beef034e3e5ab4bd0 (patch)
tree0425e7649b81ccff07e68a625c940ada57e0ed2b /fs/file_table.c
parentslab: pass struct kmem_cache_args to do_kmem_cache_create() (diff)
downloadkernel-dacf472bcdfa4f3b08cd2c1beef034e3e5ab4bd0.tar.gz
kernel-dacf472bcdfa4f3b08cd2c1beef034e3e5ab4bd0.zip
slab: remove rcu_freeptr_offset from struct kmem_cache
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 <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Reviewed-by: Mike Rapoport (Microsoft) <[email protected]> Reviewed-by: Vlastimil Babka <[email protected]> Signed-off-by: Christian Brauner <[email protected]> Reviewed-by: Roman Gushchin <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions