Page MenuHomeFreeBSD

sched: Flag to force scheduler to always choose idle thread
Needs ReviewPublic

Authored by obiwac on Mon, Dec 29, 8:54 PM.

Details

Reviewers
olce
markj
Summary

For s2idle, we need a reliable way to force the scheduler into an idle loop.

This is a bit heavy-handed and not necessarily the right approach - revision opened mostly so @olce can have a look :) Also this would need to be done with the old scheduler if we go ahead with this design.

The small change at line 1502 is because my language server is complaining about it being a misleading statement.

Diff Detail

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