]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge tag 'timers-core-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Dec 2025 17:58:33 +0000 (09:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Dec 2025 17:58:33 +0000 (09:58 -0800)
Pull timer core updates from Thomas Gleixner:

 - Prevent a thundering herd problem when the timekeeper CPU is delayed
   and a large number of CPUs compete to acquire jiffies_lock to do the
   update. Limit it to one CPU with a separate "uncontended" atomic
   variable.

 - A set of improvements for the timer migration mechanism:

     - Support imbalanced NUMA trees correctly

     - Support dynamic exclusion of CPUs from the migrator duty to allow
       the cpuset/isolation mechanism to exclude them from handling
       timers of remote idle CPUs

 - The usual small updates, cleanups and enhancements

* tag 'timers-core-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  timers/migration: Exclude isolated cpus from hierarchy
  cpumask: Add initialiser to use cleanup helpers
  sched/isolation: Force housekeeping if isolcpus and nohz_full don't leave any
  cgroup/cpuset: Rename update_unbound_workqueue_cpumask() to update_isolation_cpumasks()
  timers/migration: Use scoped_guard on available flag set/clear
  timers/migration: Add mask for CPUs available in the hierarchy
  timers/migration: Rename 'online' bit to 'available'
  selftests/timers/nanosleep: Add tests for return of remaining time
  selftests/timers: Clean up kernel version check in posix_timers
  time: Fix a few typos in time[r] related code comments
  time: tick-oneshot: Add missing Return and parameter descriptions to kernel-doc
  hrtimer: Store time as ktime_t in restart block
  timers/migration: Remove dead code handling idle CPU checking for remote timers
  timers/migration: Remove unused "cpu" parameter from tmigr_get_group()
  timers/migration: Assert that hotplug preparing CPU is part of stable active hierarchy
  timers/migration: Fix imbalanced NUMA trees
  timers/migration: Remove locking on group connection
  timers/migration: Convert "while" loops to use "for"
  tick/sched: Limit non-timekeeper CPUs calling jiffies update

1  2 
include/linux/cpumask.h
kernel/cgroup/cpuset.c
kernel/time/hrtimer.c
kernel/time/posix-timers.c
kernel/time/tick-sched.c

Simple merge
index 185e820cd1df8cc53df75fde3c41b62446d0c3ae,bfc3b319e1c00cf86e1994640ecce04f064a1555..4aaad07b0bd19ba0cccd180b5306df925bf97658
@@@ -1593,10 -1511,10 +1596,10 @@@ static void remote_partition_disable(st
                cs->partition_root_state = PRS_MEMBER;
  
        /* effective_xcpus may need to be changed */
 -      compute_effective_exclusive_cpumask(cs, NULL, NULL);
 +      compute_excpus(cs, cs->effective_xcpus);
        reset_partition_data(cs);
        spin_unlock_irq(&callback_lock);
-       update_unbound_workqueue_cpumask(isolcpus_updated);
+       update_isolation_cpumasks(isolcpus_updated);
        cpuset_force_rebuild();
  
        /*
Simple merge
Simple merge
Simple merge