diff options
author | Jens Axboe <[email protected]> | 2024-05-07 15:09:02 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-08 08:27:45 -0600 |
commit | 340f634aa43d4172771a784da31e5d4c7c7d3126 (patch) | |
tree | ad4123a6492c49bd38f2de4900ad2abbfeef536d /tools/perf/util/trace-event-scripting.c | |
parent | 8a565304927fbd28c9f028c492b5c1714002cbab (diff) |
io_uring/filetable: don't unnecessarily clear/reset bitmap
If we're updating an existing slot, we clear the slot bitmap only to
set it again right after. Just leave the bit set rather than toggle
it off and on, and move the unused slot setting into the branch of
not already having a file occupy this slot.
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions