lkml.org 
[lkml]   [2013]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: lots of brief rcu stalls.
From
Date
On Wed, 2013-12-04 at 16:16 -0800, Paul E. McKenney wrote:
> + if (rdp->rsp == rcu_state &&
> + ULONG_CMP_GE(ACCESS_ONCE(jiffies), rdp->rsp->jiffies_resched)) {
> + rdp->rsp->jiffies_resched += 5;
> + resched_cpu(rdp->cpu);
> + }
> +
> return 0;
> }

jiffies should not need ACCESS_ONCE(), right ?

It is one of the few variables marked with volatile keyword.





\
 
 \ /
  Last update: 2013-12-05 03:41    [W:0.166 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site