Page MenuHomeFreeBSD

sched_4bsd: fix comment in maybe_preempt()
ClosedPublic

Authored by mchoo on Fri, Sep 4, 5:37 PM.
Tags
None
Referenced Files
F174462947: D59402.id187103.diff
Sat, Oct 3, 11:05 AM
F174462295: D59402.id185838.diff
Sat, Oct 3, 10:58 AM
F174422350: D59402.id187103.diff
Sat, Oct 3, 2:14 AM
Unknown Object (File)
Fri, Oct 2, 8:51 PM
Unknown Object (File)
Fri, Oct 2, 5:59 PM
Unknown Object (File)
Fri, Oct 2, 5:00 PM
Unknown Object (File)
Fri, Oct 2, 4:25 PM
Unknown Object (File)
Fri, Oct 2, 3:44 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 Not Applicable
Unit
Tests Not Applicable

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
348
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.