io_uring/net: make page accounting more consistent
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 25 Jul 2022 09:52:05 +0000 (10:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 15:48:25 +0000 (09:48 -0600)
commit6a9ce66f4d0872861e0bbc67eee6ce5dca5dd886
tree81e66222f137d24bf38d367a9d29d4e91c6dd6c5
parent2e32ba5607ee2b668baa8831dd74f7cc867a1f7e
io_uring/net: make page accounting more consistent

Make network page accounting more consistent with how buffer
registration is working, i.e. account all memory to ctx->user.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4aacfe64bbb81b27f9ecf5d5c219c69a07e5aa56.1658742118.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c
io_uring/notif.c
io_uring/notif.h
io_uring/rsrc.c
io_uring/rsrc.h