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 timer fix from Thomas Gleixner:
"A single fix for a ~10 years old problem which causes high resolution
timers to stop after a CPU unplug/plug cycle due to a stale flag in
the per CPU hrtimer base struct.

Paul McKenney was hunting this for about a year, but the heisenbug
nature made it resistant against debug attempts for quite some time"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
hrtimer: Reset hrtimer cpu base proper on CPU hotplug

+3
+3
kernel/time/hrtimer.c
··· 655 655 static inline void hrtimer_init_hres(struct hrtimer_cpu_base *base) 656 656 { 657 657 base->expires_next = KTIME_MAX; 658 + base->hang_detected = 0; 658 659 base->hres_active = 0; 660 + base->next_timer = NULL; 659 661 } 660 662 661 663 /* ··· 1591 1589 timerqueue_init_head(&cpu_base->clock_base[i].active); 1592 1590 } 1593 1591 1592 + cpu_base->active_bases = 0; 1594 1593 cpu_base->cpu = cpu; 1595 1594 hrtimer_init_hres(cpu_base); 1596 1595 return 0;