Page MenuHomeFreeBSD

sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN
ClosedPublic

Authored by khng on Sat, May 10, 9:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 17, 7:36 PM
Unknown Object (File)
Thu, May 15, 9:15 PM
Unknown Object (File)
Thu, May 15, 10:31 AM
Unknown Object (File)
Sun, May 11, 7:00 PM
Subscribers

Details

Summary

The following sysctls which are not touched during boot time
initialization are marked as CTLFLAG_RWTUN so they can be set by loader
tunables as well:

  • kern.sched.interact
  • kern.sched.preempt_thresh
  • kern.sched.static_boost
  • kern.sched.idlespins
  • kern.sched.balance
  • kern.sched.steal_idle
  • kern.sched.steal_thresh
  • kern.sched.trysteal_limit
  • kern.sched.always_steal

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

khng requested review of this revision.Sat, May 10, 9:00 AM
khng retitled this revision from sched: mark preempt_thresh and interact_score as RWTUN to sched: mark preempt_thresh and sched_interact as RWTUN.Sat, May 10, 9:21 AM
khng planned changes to this revision.Sat, May 10, 9:44 AM
khng retitled this revision from sched: mark preempt_thresh and sched_interact as RWTUN to sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
khng edited the summary of this revision. (Show Details)

This seems fine, sure.

sys/kern/sched_ule.c
3329

Why not this one?

sys/kern/sched_ule.c
3329

This one is being set up in sched_initticks() so I am not going to touch it.

This revision is now accepted and ready to land.Sun, May 11, 5:35 PM