From owner-cvs-src@FreeBSD.ORG Thu Apr 10 22:30: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 5929D37B401; Thu, 10 Apr 2003 22:30:15 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0DAE43F85; Thu, 10 Apr 2003 22:30:13 -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 h3B5UDw97568; Fri, 11 Apr 2003 01:30:13 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Fri, 11 Apr 2003 01:30:13 -0400 (EDT) From: Jeff Roberson To: David Xu In-Reply-To: <009001c2ffe8$c1411a40$f001a8c0@davidw2k> Message-ID: <20030411012911.C37530-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-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:30:15 -0000 On Fri, 11 Apr 2003, David Xu wrote: > > I know julian is working on KSE scheduler abstract, > possible you should discuss with him before committing this. > > David Xu I wasn't aware of that. I thought I was the only one who was working on the scheduler abstraction. Perhaps since it was originally my work he should have discussed it with me? > > ----- Original Message ----- > From: "Jeff Roberson" > To: ; ; > Sent: Friday, April 11, 2003 11:39 AM > Subject: cvs commit: src/sys/sys sched.h src/sys/kern kern_clock.c kern_exit.c kern_fork.c kern_resource.c > > > > 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. > >