Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull NOHZ update from Thomas Gleixner:
"Remove the call into the nohz idle code from the fake 'idle' thread in
the powerclamp driver along with the export of those functions which
was smuggeled in via the thermal tree. People have tried to hack
around it in the nohz core code, but it just violates all rightful
assumptions of that code about the only valid calling context (i.e.
the proper idle task).

The powerclamp trainwreck will still work, it just wont get the
benefit of long idle sleeps"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tick/powerclamp: Remove tick_nohz_idle abuse

-4
-2
drivers/thermal/intel_powerclamp.c
··· 435 435 * allowed. thus jiffies are updated properly. 436 436 */ 437 437 preempt_disable(); 438 - tick_nohz_idle_enter(); 439 438 /* mwait until target jiffies is reached */ 440 439 while (time_before(jiffies, target_jiffies)) { 441 440 unsigned long ecx = 1; ··· 450 451 start_critical_timings(); 451 452 atomic_inc(&idle_wakeup_counter); 452 453 } 453 - tick_nohz_idle_exit(); 454 454 preempt_enable(); 455 455 } 456 456 del_timer_sync(&wakeup_timer);
-2
kernel/time/tick-sched.c
··· 847 847 848 848 local_irq_enable(); 849 849 } 850 - EXPORT_SYMBOL_GPL(tick_nohz_idle_enter); 851 850 852 851 /** 853 852 * tick_nohz_irq_exit - update next tick event from interrupt exit ··· 973 974 974 975 local_irq_enable(); 975 976 } 976 - EXPORT_SYMBOL_GPL(tick_nohz_idle_exit); 977 977 978 978 static int tick_nohz_reprogram(struct tick_sched *ts, ktime_t now) 979 979 {