summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_cpuset.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-04-04 01:16:18 +0000
committerjeff <jeff@FreeBSD.org>2008-04-04 01:16:18 +0000
commit85d3ffe23c60821d6554b0426e8074b7c849762f (patch)
treeb6d8a1c3cbe25318d63006459d5a7b661d49c4e7 /sys/kern/kern_cpuset.c
parentc50de590ccc1c12087279efa95ed99508409ad6c (diff)
downloadFreeBSD-src-85d3ffe23c60821d6554b0426e8074b7c849762f.zip
FreeBSD-src-85d3ffe23c60821d6554b0426e8074b7c849762f.tar.gz
- 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
Diffstat (limited to 'sys/kern/kern_cpuset.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud