summaryrefslogtreecommitdiff
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorFanjun Kong <bh1scw@gmail.com>2022-05-17 01:39:30 +0800
committerJens Axboe <axboe@kernel.dk>2022-05-17 06:12:23 -0600
commit77c570a1ea85ba4ab135c61a028420a6e9fe77f3 (patch)
tree60306c81ebde95b65ae407be843e11b5217b47d6 /block/blk-throttle.c
parent3607849df47822151b05df440759e2dc70160755 (diff)
blk-cgroup: Remove unnecessary rcu_read_lock/unlock()
spin_lock_irq/spin_unlock_irq contains preempt_disable/enable(). Which can serve as RCU read-side critical region, so remove rcu_read_lock/unlock(). Signed-off-by: Fanjun Kong <bh1scw@gmail.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20220516173930.159535-1-bh1scw@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions