Date: Fri, 11 Apr 2003 01:32:14 -0400 (EDT) From: Jeff Roberson <jroberson@chesapeake.net> To: Julian Elischer <julian@elischer.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 Message-ID: <20030411013018.N37530-100000@mail.chesapeake.net> In-Reply-To: <Pine.BSF.4.21.0304102203380.55025-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030411013018.N37530-100000>