diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-14 19:45:07 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-03 04:03:13 +0300 |
commit | 09ab7eff38202159271534d2f5ad45526168f2a5 (patch) | |
tree | 5dcc01bf33e272c483c993ad794e8d85dc5faf8f /io_uring/io_uring.c | |
parent | 73eaa2b583493b680c6f426531d6736c39643bfb (diff) | |
download | linux-09ab7eff38202159271534d2f5ad45526168f2a5.tar.xz |
io_uring/kbuf: get rid of lower BGID lists
Just rely on the xarray for any kind of bgid. This simplifies things, and
it really doesn't bring us much, if anything.
Cc: stable@vger.kernel.org # v6.4+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index d1defb99b89e..bc730f59265f 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -351,7 +351,6 @@ static __cold struct io_ring_ctx *io_ring_ctx_alloc(struct io_uring_params *p) err: kfree(ctx->cancel_table.hbs); kfree(ctx->cancel_table_locked.hbs); - kfree(ctx->io_bl); xa_destroy(&ctx->io_bl_xa); kfree(ctx); return NULL; @@ -2932,7 +2931,6 @@ static __cold void io_ring_ctx_free(struct io_ring_ctx *ctx) io_napi_free(ctx); kfree(ctx->cancel_table.hbs); kfree(ctx->cancel_table_locked.hbs); - kfree(ctx->io_bl); xa_destroy(&ctx->io_bl_xa); kfree(ctx); } |