Date: Fri, 14 Jan 2011 17:06:54 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sched_4bsd.c sched_ule.c subr_sleepqueue.c src/sys/sys priority.h Message-ID: <201101141707.p0EH7Bhx018310@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-01-14 17:06:54 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c sched_ule.c subr_sleepqueue.c sys/sys priority.h Log: SVN rev 217410 on 2011-01-14 17:06:54Z by jhb Rework realtime priority support: - Move the realtime priority range up above kernel sleep priorities and just below interrupt thread priorities. - Contract the interrupt and kernel sleep priority ranges a bit so that the timesharing priority band can be increased. The new timeshare range is now slightly larger than the old realtime + timeshare ranges. - Change the ULE scheduler to no longer use realtime priorities for interactive threads. Instead, the larger timeshare range is now split into separate subranges for interactive and non-interactive ("batch") threads. The end result is that interactive threads and non-interactive threads still use the same priority ranges as before, but realtime threads now have a separate, dedicated priority range. - Do not modify the priority of non-timeshare threads in sched_sleep() or via cv_broadcastpri(). Realtime and idle priority threads will no longer have their priorities affected by sleeping in the kernel. Reviewed by: jeff Revision Changes Path 1.149 +1 -1 src/sys/kern/sched_4bsd.c 1.290 +13 -5 src/sys/kern/sched_ule.c 1.73 +2 -1 src/sys/kern/subr_sleepqueue.c 1.7 +11 -11 src/sys/sys/priority.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101141707.p0EH7Bhx018310>