Messages in this thread | | | Date | Fri, 15 Nov 2013 12:06:24 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [PATCH V2 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status |
| |
On Fri, 15 Nov 2013, 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 rcutree_plugin.h.
What's the point of this?
Checking for tick_nohz_enabled is wrong to begin with.
See https://lkml.org/lkml/2013/11/13/424
| |