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/notif: shrink account_pages to u32

->account_pages is the number of pages we account against the user
derived from unsigned len, it definitely fits into unsigned, which saves
some space in struct io_notif_data.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/19f2687fcb36daa74d86f4a27bfb3d35cffec318.1713185320.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Pavel Begunkov and committed by
Jens Axboe
d6e29506 2e730d8d

+2 -1
+2 -1
io_uring/notif.h
··· 13 13 struct io_notif_data { 14 14 struct file *file; 15 15 struct ubuf_info uarg; 16 - unsigned long account_pages; 16 + 17 + unsigned account_pages; 17 18 bool zc_report; 18 19 bool zc_used; 19 20 bool zc_copied;