Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-04 Thread Lan Tianyu
On 2013年11月04日 17:52, Paul E. McKenney wrote: > On Mon, Nov 04, 2013 at 11:13:12AM +0800, Lan Tianyu wrote: >> On 2013年10月29日 18:29, Lan Tianyu wrote: >>> On 10/29/2013 05:51 PM, Paul E. McKenney wrote: On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: > In some cases, nohz

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 11:13:12AM +0800, Lan Tianyu wrote: > On 2013年10月29日 18:29, Lan Tianyu wrote: > > On 10/29/2013 05:51 PM, Paul E. McKenney wrote: > >> On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: > >>> In some cases, nohz enable status needs to be checked. E.G, in RCU > >>>

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-04 Thread Lan Tianyu
On 2013年11月04日 17:52, Paul E. McKenney wrote: On Mon, Nov 04, 2013 at 11:13:12AM +0800, Lan Tianyu wrote: On 2013年10月29日 18:29, Lan Tianyu wrote: On 10/29/2013 05:51 PM, Paul E. McKenney wrote: On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: In some cases, nohz enable status needs

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 11:13:12AM +0800, Lan Tianyu wrote: On 2013年10月29日 18:29, Lan Tianyu wrote: On 10/29/2013 05:51 PM, Paul E. McKenney wrote: On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-03 Thread Lan Tianyu
On 2013年10月29日 18:29, Lan Tianyu wrote: > On 10/29/2013 05:51 PM, Paul E. McKenney wrote: >> On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: >>> In some cases, nohz enable status needs to be checked. E.G, in RCU >>> and cpufreq >>> ondemand governor. So add tick_nohz_check() to return

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-03 Thread Lan Tianyu
On 2013年10月29日 18:29, Lan Tianyu wrote: On 10/29/2013 05:51 PM, Paul E. McKenney wrote: On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-10-29 Thread Lan Tianyu
On 10/29/2013 05:51 PM, Paul E. McKenney wrote: On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check()

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-10-29 Thread Paul E. McKenney
On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: > In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq > ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value > And use tick_nohz_check() instead of referencing tick_nohz_enabled in the

[PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-10-29 Thread Lan Tianyu
In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check() instead of referencing tick_nohz_enabled in the rcutree_plugin.h. Signed-off-by: Lan Tianyu ---

[PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-10-29 Thread Lan Tianyu
In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check() instead of referencing tick_nohz_enabled in the rcutree_plugin.h. Signed-off-by: Lan Tianyu tianyu@intel.com

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-10-29 Thread Paul E. McKenney
On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check() instead of referencing tick_nohz_enabled in the

Re: [PATCH 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-10-29 Thread Lan Tianyu
On 10/29/2013 05:51 PM, Paul E. McKenney wrote: On Tue, Oct 29, 2013 at 04:48:56PM +0800, Lan Tianyu wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check()