Commit d6e29506 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe

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: default avatarPavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/19f2687fcb36daa74d86f4a27bfb3d35cffec318.1713185320.git.asml.silence@gmail.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2e730d8d
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
struct io_notif_data { struct io_notif_data {
struct file *file; struct file *file;
struct ubuf_info uarg; struct ubuf_info uarg;
unsigned long account_pages;
unsigned account_pages;
bool zc_report; bool zc_report;
bool zc_used; bool zc_used;
bool zc_copied; bool zc_copied;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment