Skip to content
Commit 26bfa89e authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: place ring SQ/CQ arrays under memcg memory limits



Instead of imposing rlimit memlock limits for the rings themselves,
ensure that we account them properly under memcg with __GFP_ACCOUNT.
We retain rlimit memlock for registered buffers, this is just for the
ring arrays themselves.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 91f245d5
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