Page MenuHomeFreeBSD

sched_4bsd: fix comment in maybe_preempt()
ClosedPublic

Authored by mchoo on Fri, Sep 4, 5:37 PM.
Tags
None
Referenced Files
F174188773: D59402.id186017.diff
Thu, Oct 1, 6:05 AM
F174121236: D59402.diff
Wed, Sep 30, 6:39 PM
F174095913: D59402.id186017.diff
Wed, Sep 30, 2:34 PM
Unknown Object (File)
Wed, Sep 30, 12:07 AM
Unknown Object (File)
Tue, Sep 29, 5:45 PM
Unknown Object (File)
Tue, Sep 29, 1:44 PM
Unknown Object (File)
Sat, Sep 26, 9:03 PM
Unknown Object (File)
Sat, Sep 26, 7:55 AM
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 76599
Build 73482: arc lint + arc unit

Event Timeline

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

Grammar.

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