[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1335445496.13683.21.camel@twins>
Date: Thu, 26 Apr 2012 15:04:56 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, mingo@...e.hu, laijs@...fujitsu.com,
dipankar@...ibm.com, akpm@...ux-foundation.org,
mathieu.desnoyers@...ymtl.ca, josh@...htriplett.org,
niv@...ibm.com, tglx@...utronix.de, rostedt@...dmis.org,
Valdis.Kletnieks@...edu, dhowells@...hat.com,
eric.dumazet@...il.com, darren@...art.com, fweisbec@...il.com,
patches@...aro.org, "Paul E. McKenney" <paul.mckenney@...aro.org>
Subject: Re: [PATCH RFC tip/core/rcu 4/4] rcu: Ensure that RCU_FAST_NO_HZ
timers expire on correct CPU
On Mon, 2012-04-23 at 09:16 -0700, Paul E. McKenney wrote:
> - mod_timer(&per_cpu(rcu_idle_gp_timer, cpu),
> - per_cpu(rcu_idle_gp_timer_expires, cpu));
> + tp = &per_cpu(rcu_idle_gp_timer, cpu);
> + tp->expires = per_cpu(rcu_idle_gp_timer_expires, cpu);
> + add_timer_on(tp, cpu);
The simpler change looks to use mod_timer_pinned()
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists