Page MenuHomeFreeBSD

sched_4bsd: fix comment in maybe_preempt()
AcceptedPublic

Authored by mchoo on Fri, Sep 4, 5:37 PM.
Tags
None
Referenced Files
F170952794: D59402.id185838.diff
Mon, Sep 7, 8:07 PM
F170952132: D59402.id.diff
Mon, Sep 7, 8:00 PM
F170943777: D59402.id185838.diff
Mon, Sep 7, 6:44 PM
F170893352: D59402.id.diff
Mon, Sep 7, 9:19 AM
Unknown Object (File)
Sun, Sep 6, 7:41 PM
Unknown Object (File)
Sun, Sep 6, 7:40 PM
Unknown Object (File)
Sun, Sep 6, 10:22 AM
Unknown Object (File)
Fri, Sep 4, 9:55 PM
Subscribers

Details

Reviewers
jhb
olce
Group Reviewers
scheduler
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.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 ↗(On Diff #185838)
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