diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-02-22 00:02:53 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-24 04:33:26 +0100 |
commit | 728f13e730093d0b3a1317d2ada83c2538941f34 (patch) | |
tree | 18bc846640ca882ed9655a236dfe82a7924f3603 /fs/io_uring.c | |
parent | io_uring: flag new native workers with IORING_FEAT_NATIVE_WORKERS (diff) | |
download | linux-728f13e730093d0b3a1317d2ada83c2538941f34.tar.xz linux-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; |