Page MenuHomeFreeBSD

NOTES: Multiple schedulers can be compiled in at once
ClosedPublic

Authored by olce on Fri, Sep 25, 10:38 AM.
Tags
None
Referenced Files
F174277077: D60014.id187657.diff
Thu, Oct 1, 11:10 PM
F174242611: D60014.diff
Thu, Oct 1, 4:08 PM
F174166431: D60014.diff
Thu, Oct 1, 2:11 AM
Unknown Object (File)
Wed, Sep 30, 4:02 PM
Unknown Object (File)
Wed, Sep 30, 10:40 AM
Unknown Object (File)
Wed, Sep 30, 10:39 AM
Unknown Object (File)
Wed, Sep 30, 8:34 AM
Unknown Object (File)
Wed, Sep 30, 5:04 AM
Subscribers

Details

Summary

Mention that ULE is the default scheduler when multiple ones are
compiled in.

While here, mention the tunable 'kern.sched.name' to override the
default scheduler.

While here, regroup SCHED_ULE and SCHED_4BSD, as they control if the
respective scheduler instances are compiled in, putting SCHED_STATS
aside.

Fixes: 75a66a92c92f ("- Add an option to compile in SCHED_STATS. ...")
Fixes: 1322760fd127 ("sys: enable both SCHED_ULE and SCHED_4BSD for some configs")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77329
Build 74212: arc lint + arc unit

Event Timeline

olce requested review of this revision.Fri, Sep 25, 10:38 AM
mchoo added a subscriber: mchoo.

I don't know why phabricator does not render 75a66a92c92f as commit link while does for 1322760fd127, but the commit is definitely reachable.

sys/conf/NOTES
195–201

Suggestion: I think this has better flow.

This revision is now accepted and ready to land.Fri, Sep 25, 1:42 PM

I don't know why phabricator does not render 75a66a92c92f as commit link while does for 1322760fd127, but the commit is definitely reachable.

I'm not sure why Phab sometimes misses hashes either, but you can prepend rG: to convince it if needed: rG:75a66a92c92f

olce marked an inline comment as done.

Reformulate with better flow.

This revision now requires review to proceed.Fri, Sep 25, 3:22 PM
sys/conf/NOTES
195–201

Mmm... I probably understand what you are after. That said, your proposed second sentence feels bogus to me, and in the first one the mandatory part (at least one scheduler) has been pushed farther although it was intended to be first. Giving it another shot... How is it now?

This revision is now accepted and ready to land.Fri, Sep 25, 3:31 PM