diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-10-04 03:19:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-12 16:30:56 -0600 |
commit | 42b6419d0aba47c5d8644cdc0b68502254671de5 (patch) | |
tree | baa4fb588eaebd1eb3c480ae08fb8e0b66ddf996 /io_uring/msg_ring.c | |
parent | 0091bfc81741b8d3aeb3b7ab8636f911b2de6e80 (diff) | |
download | linux-42b6419d0aba47c5d8644cdc0b68502254671de5.tar.gz |
io_uring: correct pinned_vm accounting
->mm_account should be released only after we free all registered
buffers, otherwise __io_sqe_buffers_unregister() will see a NULL
->mm_account and skip locked_vm accounting.
Cc: <Stable@vger.kernel.org>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/6d798f65ed4ab8db3664c4d3397d4af16ca98846.1664849932.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions