[Midnightbsd-cvs] [MidnightBSD/src] 4aa1fd: sched: remove unsafe MIC class repicks
Lucas Holt
noreply at github.com
Sun Jun 14 12:44:45 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 4aa1fd4cd65f6be902228433ddec43e0668c4730
https://github.com/MidnightBSD/src/commit/4aa1fd4cd65f6be902228433ddec43e0668c4730
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-13 (Sat, 13 Jun 2026)
Changed paths:
M sys/kern/sched_mic.c
Log Message:
-----------
sched: remove unsafe MIC class repicks
Back out the MIC running-thread class repick path that could mark active threads for PICKCPU from the periodic balancer. That path allowed duplicate current-thread residency during balancer stress.
Keep class-aware selection for newly queued threads, but leave running threads on their selected CPU unless their cpuset no longer allows it. Also guard early topology/class helper use so boot-time scheduler paths do not dereference incomplete topology state.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
AI-Assisted-by: GPT-5 Codex
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list