Re: [PATCHv8 6/6] io_uring: cache nodes and mapped buffers

Jens Axboe
2025-02-27T23:50:33Z

On 2/27/25 3:39 PM, Keith Busch wrote:
> @@ -119,22 +137,44 @@ static void io_buffer_unmap(struct io_ring_ctx *ctx, struct io_mapped_ubuf *imu)
> if (imu->acct_pages)
> io_unaccount_mem(ctx, imu->acct_pages);
> imu->release(imu->priv);
> - kvfree(imu);
> }

io_free_imu(ctx, imu);

?

--
Jens Axboe