aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-03-14 20:57:10 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-15 09:32:40 -0600
commit09a6f4efaa6536e760385f949e24078fd78305ad (patch)
tree050edd8ceb6d2f5ca6d5a24e826bd2063b482d07 /kernel/locking/rtmutex-debug.c
parent180f829fe4026bd192447d261e712b6cb84f6202 (diff)
io_uring: replace sqd rw_semaphore with mutex
The only user of read-locking of sqd->rw_lock is sq_thread itself, which is by definition alone, so we don't really need rw_semaphore, but mutex will do. Replace it with a mutex, and kill read-to-write upgrading and extra task_work handling in io_sq_thread(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions