diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-02-21 16:02:53 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-23 20:33:26 -0700 |
commit | 728f13e730093d0b3a1317d2ada83c2538941f34 (patch) | |
tree | 18bc846640ca882ed9655a236dfe82a7924f3603 /fs/io_uring.c | |
parent | 1c0aa1fae1acb77c5f9917adb0e4cb4500b9f3a6 (diff) | |
download | linux-stable-728f13e730093d0b3a1317d2ada83c2538941f34.tar.gz linux-stable-728f13e730093d0b3a1317d2ada83c2538941f34.tar.bz2 linux-stable-728f13e730093d0b3a1317d2ada83c2538941f34.zip |
io-wq: remove nr_process accounting
We're now just using fork like we would from userspace, so there's no
need to try and impose extra restrictions or accounting on the user
side of things. That's already being done for us. That also means we
don't have to pass in the user_struct anymore, that's correctly inherited
through ->creds on fork.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c index cf9a5fa1ad03..49a636d291cf 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -7767,7 +7767,6 @@ static struct io_wq *io_init_wq_offload(struct io_ring_ctx *ctx) struct io_wq_data data; unsigned int concurrency; - data.user = ctx->user; data.free_work = io_free_work; data.do_work = io_wq_submit_work; |