HomeFreeBSD

- Allow static_boost to specify no boost with '0', traditional kernel
rS177903Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Allow static_boost to specify no boost with '0', traditional kernel fixed pri boost with '1' or any priority less than the current thread's priority with a value greater than two. Default the boost to PRI_MIN_TIMESHARE to prevent regular user-space threads from starving threads in the kernel. This prevents these user-threads from also being scheduled as if they are high fixed-priority kernel threads.
  • Restore the setting of lowpri in tdq_choose(). It has to be either here or in sched_switch(). I accidentally removed it from both places.

Tested by: kris

Details

Provenance
jeffAuthored on
Parents
rS177902: - Don't check for the ITHD pri class in tdq_load_add and rem. 4BSD doesn't
Branches
Unknown
Tags
Unknown

Event Timeline