Page MenuHomeFreeBSD

sched_4bsd: fix comment in maybe_preempt()
ClosedPublic

Authored by mchoo on Sep 4 2026, 5:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 6, 8:50 AM
Unknown Object (File)
Mon, Oct 5, 11:58 AM
Unknown Object (File)
Sun, Oct 4, 4:13 AM
Unknown Object (File)
Sat, Oct 3, 11:05 AM
Unknown Object (File)
Sat, Oct 3, 10:58 AM
Unknown Object (File)
Sat, Oct 3, 2:14 AM
Unknown Object (File)
Fri, Oct 2, 8:51 PM
Unknown Object (File)
Fri, Oct 2, 5:59 PM
Subscribers

Details

Summary

The comment says the new thread's priority is not a realtime priority
while the code states pri > PRI_MAX_ITHD which is interrupt priorities
not realtime.

MFC after: 2 weeks
MFC to: stable/14, stable/15
Sponsored by: FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 76597
Build 73480: arc lint + arc unit

Event Timeline

mchoo requested review of this revision.Sep 4 2026, 5:37 PM
olce requested changes to this revision.Sep 6 2026, 4:39 PM

Grammar.

sys/kern/sched_4bsd.c
347 ↗(On Diff #185838)
This revision now requires changes to proceed.Sep 6 2026, 4:39 PM
mchoo marked an inline comment as done.Sep 6 2026, 6:41 PM
This revision is now accepted and ready to land.Sep 6 2026, 9:38 PM
This revision was automatically updated to reflect the committed changes.