mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-22 15:14:35 +00:00
nohz: disable tick_nohz_kick_tick() for now
Impact: nohz powersavings and wakeup regression
commit fb02fbc14d
(NOHZ: restart tick
device from irq_enter()) causes a serious wakeup regression.
While the patch is correct it does not take into account that spurious
wakeups happen on x86. A fix for this issue is available, but we just
revert to the .27 behaviour and let long running softirqs screw
themself.
Disable it for now.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
ee5f80a993
commit
ae99286b4f
1 changed files with 4 additions and 0 deletions
|
@ -568,6 +568,9 @@ static void tick_nohz_switch_to_nohz(void)
|
||||||
*/
|
*/
|
||||||
static void tick_nohz_kick_tick(int cpu)
|
static void tick_nohz_kick_tick(int cpu)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
|
/* Switch back to 2.6.27 behaviour */
|
||||||
|
|
||||||
struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu);
|
struct tick_sched *ts = &per_cpu(tick_cpu_sched, cpu);
|
||||||
ktime_t delta, now;
|
ktime_t delta, now;
|
||||||
|
|
||||||
|
@ -584,6 +587,7 @@ static void tick_nohz_kick_tick(int cpu)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
tick_nohz_restart(ts, now);
|
tick_nohz_restart(ts, now);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue