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:
"Correct an ordering issue in the tick broadcast code. I really wish
we'd get compensation for pain and suffering for each line of code we
write to work around dysfunctional timer hardware."

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tick: Fix tick_broadcast_pending_mask not cleared

+5 -2
+5 -2
kernel/time/tick-broadcast.c
··· 599 599 } else { 600 600 if (cpumask_test_and_clear_cpu(cpu, tick_broadcast_oneshot_mask)) { 601 601 clockevents_set_mode(dev, CLOCK_EVT_MODE_ONESHOT); 602 - if (dev->next_event.tv64 == KTIME_MAX) 603 - goto out; 604 602 /* 605 603 * The cpu which was handling the broadcast 606 604 * timer marked this cpu in the broadcast ··· 612 614 tick_broadcast_pending_mask)) 613 615 goto out; 614 616 617 + /* 618 + * Bail out if there is no next event. 619 + */ 620 + if (dev->next_event.tv64 == KTIME_MAX) 621 + goto out; 615 622 /* 616 623 * If the pending bit is not set, then we are 617 624 * either the CPU handling the broadcast