]> git.baikalelectronics.ru Git - kernel.git/commit
blk-cgroup: Remove unnecessary rcu_read_lock/unlock()
authorFanjun Kong <bh1scw@gmail.com>
Mon, 16 May 2022 17:39:30 +0000 (01:39 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 17 May 2022 12:12:23 +0000 (06:12 -0600)
commitbd1705ce63f268b7d46cfe586a5644fcd327dae3
tree60306c81ebde95b65ae407be843e11b5217b47d6
parent44b09ebd113a4119fa0851c31aae1e055ca369b1
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>
block/blk-cgroup.c