Date: Fri, 11 Apr 2003 13:11:05 +0800 From: "David Xu" <davidxu@freebsd.org> To: "Jeff Roberson" <jeff@FreeBSD.org>, <src-committers@FreeBSD.org>, <cvs-src@FreeBSD.org>, <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 Message-ID: <009001c2ffe8$c1411a40$f001a8c0@davidw2k> References: <200304110339.h3B3d7gB065146@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <jeff@FreeBSD.org> To: <src-committers@FreeBSD.org>; <cvs-src@FreeBSD.org>; = <cvs-all@FreeBSD.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009001c2ffe8$c1411a40$f001a8c0>