diff options
| author | 2020-10-15 16:24:45 -0600 | |
|---|---|---|
| committer | 2020-10-17 09:25:47 -0600 | |
| commit | d8a6df10aac9f2e4d5f30aff3129d552d2984ce7 (patch) | |
| tree | c254a63bd2029e29853e1f28568bfc06e4e41b2d /scripts/gdb/linux/modules.py | |
| parent | io_uring: assign new io_identity for task if members have changed (diff) | |
| download | wireguard-linux-d8a6df10aac9f2e4d5f30aff3129d552d2984ce7.tar.xz wireguard-linux-d8a6df10aac9f2e4d5f30aff3129d552d2984ce7.zip | |
io_uring: use percpu counters to track inflight requests
Even though we place the req_issued and req_complete in separate
cachelines, there's considerable overhead in doing the atomics
particularly on the completion side.
Get rid of having the two counters, and just use a percpu_counter for
this. That's what it was made for, after all. This considerably
reduces the overhead in __io_free_req().
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
