diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-08-22 16:40:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-08-22 16:40:23 -0700 |
| commit | 2709dd5ae32f0828f386327c76bba9f39f63a1c6 (patch) | |
| tree | 5160cb7dc810e560e65a07fa9afc7573a7baabd3 /include | |
| parent | 0d78592583949b531318b51763ade7ff536ba9bc (diff) | |
| parent | 23906f3a1686c737bf356fdd21183b40722b2437 (diff) | |
Merge tag 'sched-urgent-2026-08-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar:
- Add missing cpus_read_lock locking to rebuild_sched_domains()
(Sebastian Andrzej Siewior)
- Fix division by zero bug in tg_cpus() that can be triggered with
empty cpusets (Jake Steinman)
* tag 'sched-urgent-2026-08-22' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/fair: Floor tg_cpus() at 1
sched/topology: Add a cpus_read_lock to rebuild_sched_domains()
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/cpuset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index a67ba1b32d16..914983387e95 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -279,6 +279,7 @@ static inline void dl_rebuild_rd_accounting(void) static inline void rebuild_sched_domains(void) { + guard(cpus_read_lock)(); partition_sched_domains(1, NULL, NULL); } |
