Page MenuHomeFreeBSD

sched_4bsd: fix comment in maybe_preempt()
ClosedPublic

Authored by mchoo on Fri, Sep 4, 5:37 PM.
Tags
None
Referenced Files
F174016070: D59402.id186015.diff
Wed, Sep 30, 12:07 AM
F173973037: D59402.id186015.diff
Tue, Sep 29, 5:45 PM
F173946170: D59402.id186015.diff
Tue, Sep 29, 1:44 PM
Unknown Object (File)
Sat, Sep 26, 9:03 PM
Unknown Object (File)
Sat, Sep 26, 7:55 AM
Unknown Object (File)
Sat, Sep 26, 6:02 AM
Unknown Object (File)
Wed, Sep 23, 11:28 AM
Unknown Object (File)
Wed, Sep 23, 6:43 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 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.