diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-12-15 22:08:49 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-12-28 09:51:15 -0800 |
commit | eb0089d629ba413ebf820733ad11b4b2bed45514 (patch) | |
tree | 873f92c415984cd4be1ca8c0de5e441d10ce3129 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | aa43477b040251f451db0d844073ac00a8ab66ee (diff) |
io_uring: single shot poll removal optimisation
We don't need to poll oneshot request if we've got a desired mask in
io_poll_wake(), task_work will clean it up correctly, but as we already
hold a wq spinlock, we can remove ourselves and save on additional
spinlocking in io_poll_remove_entries().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ee170a344a18c9ef36b554d806c64caadfd61c31.1639605189.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions