From owner-cvs-all@FreeBSD.ORG Tue Apr 22 13:50:40 2003 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 0666837B401; Tue, 22 Apr 2003 13:50:40 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96E6943FAF; Tue, 22 Apr 2003 13:50:39 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3MKod0U077469; Tue, 22 Apr 2003 13:50:39 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3MKodSV077465; Tue, 22 Apr 2003 13:50:39 -0700 (PDT) Message-Id: <200304222050.h3MKodSV077465@repoman.freebsd.org> From: John Baldwin Date: Tue, 22 Apr 2003 13:50:39 -0700 (PDT) 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_4bsd.c 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: Tue, 22 Apr 2003 20:50:40 -0000 jhb 2003/04/22 13:50:39 PDT FreeBSD src repository Modified files: sys/kern sched_4bsd.c sched_ule.c Log: - Assert that the proc lock and sched_lock are held in sched_nice(). - For the 4BSD scheduler, this means that all callers of the static function resetpriority() now always hold sched_lock, so don't lock sched_lock explicitly in that function. Revision Changes Path 1.16 +3 -2 src/sys/kern/sched_4bsd.c 1.31 +2 -0 src/sys/kern/sched_ule.c