Subject: Re: Context switch revamp
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 09/23/2002 22:56:14
On Mon, Sep 23, 2002 at 09:40:06PM +0100, Steve Woodford wrote:
> On Mon, 23 Sep 2002, Jason R Thorpe wrote:
> 
> > On Fri, Sep 13, 2002 at 08:33:39AM +1200, Gregory McGarry wrote:
> >
> >  > I'm keen to separate the scheduler and the context switching
> >  > functionality.
> >
> > However ... I think this is the wrong time to make this change (and, sigh,
> > I see this email is a little late -- you've already checked it in).  There
> > are a couple of reasons for this:
> >
> > 	3. There have been reports of some problems with the code as
> > 	   currently in the tree.
> 
> I would also recommend that this is backed out for now. I've submitted a
> PR about the problem it causes, at least on i386. See kern/18387.

One difference if that 'curproc' is set much earlier in the process
switch sequence.
This alone might be responsible for the perceived increase in system
cpu % reported by top.

	David

-- 
David Laight: david@l8s.co.uk