From owner-cvs-src@FreeBSD.ORG Thu Apr 10 22:09:34 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 A888237B401; Thu, 10 Apr 2003 22:09:34 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B51143FB1; Thu, 10 Apr 2003 22:09:30 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidw2k (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id HLDQPZJ0; Fri, 11 Apr 2003 12:55:53 +0800 Message-ID: <009001c2ffe8$c1411a40$f001a8c0@davidw2k> From: "David Xu" To: "Jeff Roberson" , , , References: <200304110339.h3B3d7gB065146@repoman.freebsd.org> Date: Fri, 11 Apr 2003 13:11:05 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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:09:35 -0000 I know julian is working on KSE scheduler abstract, possible you should discuss with him before committing this. David Xu ----- Original Message -----=20 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 >=20 > FreeBSD src repository >=20 > Modified files: > sys/sys sched.h=20 > sys/kern kern_clock.c kern_exit.c kern_fork.c=20 > kern_resource.c=20 > 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.