Subject: Re: Moving scheduler semantics from cpu_switch() to kern_synch.c
To: Daniel Sieger <dsieger@TechFak.Uni-Bielefeld.DE>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 09/19/2006 13:29:07
Daniel Sieger wrote:
> On Tue, Sep 19, 2006 at 07:53:30AM -0700, Matt Thomas wrote:
>> Shouldn't cpu_idle() also unset curlwp?  If so, I'm not sure I like
>> returning back to the scheduler on a idle stack with no curlwp.
> 
> Had a quick look at our current implementation. If I understand
> correctly this is exactly what we do in cpu_switch() at the
> moment. What's wrong with that?

cpu_switch is going away. :)  So if it sets it, now someone else
will need to.
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.