lkml.org 
[lkml]   [2013]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC nohz_full v2 6/7] nohz_full: Add full-system-idle state machine
On Mon, Jul 01, 2013 at 11:10:40AM -0700, Paul E. McKenney wrote:
> On Mon, Jul 01, 2013 at 06:35:31PM +0200, Frederic Weisbecker wrote:
> > What makes sure that we are not reading a stale value of rdtp->dynticks_idle
> > in the following scenario:
> >
> > CPU 0 CPU 1
> >
> > //CPU 1 idle
> > //rdtp(1)->dynticks_idle == 0
> >
> > sysidle_check_cpu(CPU 1) {
> > rdtp(1)->dynticks_idle == 0
> > }
> > cmpxchg(full_sysidle_state,
> > ...RCU_SYSIDLE_SHORT)
> > rcu_irq_exit() {
>
> rcu_irq_enter(), right?
>

Woops, I meant rcu_idle_exit(). But yeah rcu_irq_enter() as well.

Thanks.


\
 
 \ /
  Last update: 2013-07-01 23:41    [W:0.051 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site