diff options
author | Tejun Heo <tj@kernel.org> | 2023-04-12 14:06:46 -1000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-13 06:46:48 -0600 |
commit | 83462a6c971cdc550475b672cf29bd3b53bedf84 (patch) | |
tree | 4233724720c205a3798d7642ae8d22d12900bc8a /io_uring/fdinfo.h | |
parent | d8898ee50edecacdf0141f26fd90acf43d7e9cd7 (diff) | |
download | linux-83462a6c971cdc550475b672cf29bd3b53bedf84.tar.gz |
blkcg: Drop unnecessary RCU read [un]locks from blkg_conf_prep/finish()
Now that all RCU flavors have been combined either holding a spin lock,
disabling irq or disabling preemption implies RCU read lock, so there's no
need to use rcu_read_[un]lock() explicitly while holding queue_lock. This
shouldn't cause any behavior changes.
v2: Description updated. Leave __acquires/release on queue_lock alone.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230413000649.115785-2-tj@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/fdinfo.h')
0 files changed, 0 insertions, 0 deletions