From owner-cvs-all@FreeBSD.ORG Sun Mar 21 10:53:30 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D18516A4CE; Sun, 21 Mar 2004 10:53:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7760743D1D; Sun, 21 Mar 2004 10:53:30 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2LIrUGe068682; Sun, 21 Mar 2004 10:53:30 -0800 (PST) (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2LIrUEJ068681; Sun, 21 Mar 2004 10:53:30 -0800 (PST) (envelope-from obrien) Message-Id: <200403211853.i2LIrUEJ068681@repoman.freebsd.org> From: "David E. O'Brien" Date: Sun, 21 Mar 2004 10:53:30 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 18:53:30 -0000 obrien 2004/03/21 10:53:30 PST FreeBSD src repository Modified files: sys/kern sched_ule.c Log: Give a more reasonable CPU time to the threads which are using scheduler activation (i.e., applications are using libpthread). This is because SCHED_ULE sometimes puts P_SA processes into ksq_next unnecessarily. Which doesn't give fair amount of CPU time to processes which are using scheduler-activation-based threads when other (semi-)CPU-intensive, non-P_SA processes are running. Further work will no doubt be done by jeffr at a later date. Submitted by: Taku YAMAMOTO Reviewed by: rwatson, freebsd-current@ Revision Changes Path 1.101 +3 -6 src/sys/kern/sched_ule.c