Page MenuHomeFreeBSD

sched: fix kern.sched.{4bsd,ule}.slice
Needs ReviewPublic

Authored by mchoo on Fri, Sep 4, 5:37 PM.

Details

Reviewers
jhb
Group Reviewers
scheduler
Summary

Fix three problems with kern.sched.{4bsd,ule}.slice:

  • Guarantee minimum slice is 1.
  • Recalculate hogticks on sysctl write.
  • For ULE, recalculate sched_slice_min on sysctl write.

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
Tests Skipped
Build Status
Buildable 76509
Build 73392: arc lint + arc unit