commit | bb69cde69b51043d1be5bdffd3fc8b08381bb9a8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Mar 21 11:53:21 2025 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 21 05:14:00 2025 -0600 |
tree | 3211979ec71f13ba94a73ba929baeadcc32a4b71 | |
parent | 51743a3c92dede65077a4799dd8d0e7e2b1449e3 [diff] |
io_uring: switch away from percpu refcounts For the common cases, the io_uring ref counts are all batched and hence need not be a percpu reference. This saves some memory on systems, but outside of that, it gets rid of needing a full RCU grace period on tearing down the reference. With io_uring now waiting on cancelations and IO during exit, this slows down the tear down a lot, up to 100x as slow. Signed-off-by: Jens Axboe <axboe@kernel.dk>