From owner-cvs-src-old@FreeBSD.ORG Fri Jan 14 17:07:12 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC27106566C for ; Fri, 14 Jan 2011 17:07:12 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EC4B98FC1C for ; Fri, 14 Jan 2011 17:07:11 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p0EH7B2w018311 for ; Fri, 14 Jan 2011 17:07:11 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0EH7Bhx018310 for cvs-src-old@freebsd.org; Fri, 14 Jan 2011 17:07:11 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201101141707.p0EH7Bhx018310@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 14 Jan 2011 17:06:54 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_4bsd.c sched_ule.c subr_sleepqueue.c src/sys/sys priority.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 17:07:12 -0000 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