From owner-cvs-src@FreeBSD.ORG Thu Apr 10 22:04:15 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD6FE37B401; Thu, 10 Apr 2003 22:04:15 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D7FA43FB1; Thu, 10 Apr 2003 22:04:14 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2003041105041200300fe4lce>; Fri, 11 Apr 2003 05:04:13 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id WAA94150; Thu, 10 Apr 2003 22:04:11 -0700 (PDT) Date: Thu, 10 Apr 2003 22:04:09 -0700 (PDT) From: Julian Elischer To: Jeff Roberson In-Reply-To: <200304110339.h3B3d7gB065146@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys sched.h src/sys/kern kern_clock.c kern_exit.c kern_fork.c kern_resource.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 05:04:16 -0000 discussed with: ???? reviewed by: ???? On Thu, 10 Apr 2003, Jeff Roberson wrote: > jeff 2003/04/10 20:39:07 PDT > > FreeBSD src repository > > Modified files: > sys/sys sched.h > sys/kern kern_clock.c kern_exit.c kern_fork.c > kern_resource.c > Log: > - Adjust sched hooks for fork and exec to take processes as arguments instead > of ksegs since they primarily operation on processes. > - KSEs take ticks so pass the kse through sched_clock(). > - Add a sched_class() routine that adjusts a ksegrp pri class. > - Define a sched_fork_{kse,thread,ksegrp} and sched_exit_{kse,thread,ksegrp} > that will be used to tell the scheduler about new instances of these > structures within the same process. These will be used by THR and KSE. > - Change sched_4bsd to reflect this API update. > > Revision Changes Path > 1.156 +1 -1 src/sys/kern/kern_clock.c > 1.209 +7 -11 src/sys/kern/kern_exit.c > 1.191 +1 -1 src/sys/kern/kern_fork.c > 1.122 +1 -1 src/sys/kern/kern_resource.c > 1.4 +17 -6 src/sys/sys/sched.h >