From owner-cvs-all@FreeBSD.ORG Thu Apr 10 22:32:19 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 344AB37B401; Thu, 10 Apr 2003 22:32:19 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB19F43FCB; Thu, 10 Apr 2003 22:32:17 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h3B5WEn98442; Fri, 11 Apr 2003 01:32:14 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Fri, 11 Apr 2003 01:32:14 -0400 (EDT) From: Jeff Roberson To: Julian Elischer In-Reply-To: Message-ID: <20030411013018.N37530-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: Jeff Roberson 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-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: Fri, 11 Apr 2003 05:32:20 -0000 We discussed in email that we were missing some hooks. I simply added those hooks and fixed up ugly corners of the api. Since it was originally all my work and I got no feedback on the actual api I didn't think it would be a problem. I had an immediate need for the hooks in ule and that need has been satisfied. Cheers, Jeff On Thu, 10 Apr 2003, Julian Elischer wrote: > 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 > > >