summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-09-30 23:29:06 +0300
committerJens Axboe <axboe@kernel.dk>2024-10-29 22:43:27 +0300
commitba4366f57b117c2eab996642288e5c75646ccfc9 (patch)
treea7af9ae5209eb377d91ed26b51e3aee4ee564768 /include
parent879ba46a38e67595b96c87428fbb718d63821da2 (diff)
downloadlinux-ba4366f57b117c2eab996642288e5c75646ccfc9.tar.xz
io_uring/poll: get rid of per-hashtable bucket locks
Any access to the table is protected by ctx->uring_lock now anyway, the per-bucket locking doesn't buy us anything. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/io_uring_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h
index d8ca27da1341..9c7e1d3f06e5 100644
--- a/include/linux/io_uring_types.h
+++ b/include/linux/io_uring_types.h
@@ -67,7 +67,6 @@ struct io_file_table {
};
struct io_hash_bucket {
- spinlock_t lock;
struct hlist_head list;
} ____cacheline_aligned_in_smp;