Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

io_uring: specify freeptr usage for SLAB_TYPESAFE_BY_RCU io_kiocb cache

Doesn't matter right now as there's still some bytes left for it, but
let's prepare for the io_kiocb potentially growing and add a specific
freeptr offset for it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

+2
+2
io_uring/io_uring.c
··· 3846 3846 struct kmem_cache_args kmem_args = { 3847 3847 .useroffset = offsetof(struct io_kiocb, cmd.data), 3848 3848 .usersize = sizeof_field(struct io_kiocb, cmd.data), 3849 + .freeptr_offset = offsetof(struct io_kiocb, work), 3850 + .use_freeptr_offset = true, 3849 3851 }; 3850 3852 3851 3853 #define __BUILD_BUG_VERIFY_OFFSET_SIZE(stype, eoffset, esize, ename) do { \