mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 06:34:12 +08:00
softirq: Eliminate cond_resched_rcu_qs() in favor of cond_resched()
Now that cond_resched() also provides RCU quiescent states when needed, it can be used in place of cond_resched_rcu_qs(). This commit therefore makes this change. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: NeilBrown <neilb@suse.com> Cc: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
e31d28b6ab
commit
edf22f4ca2
@ -665,7 +665,7 @@ static void run_ksoftirqd(unsigned int cpu)
|
||||
*/
|
||||
__do_softirq();
|
||||
local_irq_enable();
|
||||
cond_resched_rcu_qs();
|
||||
cond_resched();
|
||||
return;
|
||||
}
|
||||
local_irq_enable();
|
||||
|
Loading…
Reference in New Issue
Block a user