mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:24:31 +01:00
workqueue: Remove rcu_read_lock/unlock() in wq_watchdog_timer_fn()
The wq_watchdog_timer_fn() is executed in the softirq context, this is already in the RCU read critical section, this commit therefore remove rcu_read_lock/unlock() in wq_watchdog_timer_fn(). Signed-off-by: Zqiang <qiang.zhang@linux.dev> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
fd5081f4ef
commit
cda2b2d647
1 changed files with 0 additions and 4 deletions
|
|
@ -7544,8 +7544,6 @@ static void wq_watchdog_timer_fn(struct timer_list *unused)
|
|||
if (!thresh)
|
||||
return;
|
||||
|
||||
rcu_read_lock();
|
||||
|
||||
for_each_pool(pool, pi) {
|
||||
unsigned long pool_ts, touched, ts;
|
||||
|
||||
|
|
@ -7587,8 +7585,6 @@ static void wq_watchdog_timer_fn(struct timer_list *unused)
|
|||
|
||||
}
|
||||
|
||||
rcu_read_unlock();
|
||||
|
||||
if (lockup_detected)
|
||||
show_all_workqueues();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue