mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Merge tag 'timers-urgent-2026-10-04' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Ingo Molnar: - Fix task work flags management regression in the hrtimer rearming code that can leave task work items unprocessed (Karl Mehltretter) * tag 'timers-urgent-2026-10-04' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: hrtimer: Use the mask to clear TIF_HRTIMER_REARM from the exit work
This commit is contained in:
@@ -45,7 +45,7 @@ hrtimer_rearm_deferred_user_irq(unsigned long *tif_work, const unsigned long tif
|
||||
clear_thread_flag(TIF_HRTIMER_REARM);
|
||||
__hrtimer_rearm_deferred();
|
||||
/* Don't go into the loop if HRTIMER_REARM was the only flag */
|
||||
*tif_work &= ~TIF_HRTIMER_REARM;
|
||||
*tif_work &= ~_TIF_HRTIMER_REARM;
|
||||
return !*tif_work;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user