[lkml]   [2017]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Query regarding synchronize_sched_expedited and resched_cpu
On Sun, 17 Sep 2017 11:37:06 +0530
Neeraj Upadhyay <> wrote:

> Hi Paul, how about replacing raw_spin_trylock_irqsave with
> raw_spin_lock_irqsave in resched_cpu()? Are there any paths
> in RCU code, which depend on trylock check/spinlock recursion?

It looks to me that resched_cpu() was added for nohz full sched
balancing, but is not longer used by that. The only user is currently
RCU. Perhaps we should change that from a trylock to a lock.

-- Steve

 \ /
  Last update: 2017-09-18 17:12    [W:0.207 / U:2.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site