diff options
author | Pavel Begunkov <[email protected]> | 2021-08-18 12:42:46 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-23 13:13:04 -0600 |
commit | f237c30a5610d35a584f3296d397b93d80ce374e (patch) | |
tree | f2cbf701db225fbaa3d3402ec02d72002acd81b1 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 5636c00d3e8ef1f6d1291e71edb48f727ba5a999 (diff) |
io_uring: batch task work locking
Many task_work handlers either grab ->uring_lock, or may benefit from
having it. Move locking logic out of individual handlers to a lazy
approach controlled by tctx_task_work(), so we don't keep doing
tons of mutex lock/unlock.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/d6a34e147f2507a2f3e2fa1e38a9c541dcad3929.1629286357.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions