Subject: Re: Moving scheduler semantics from cpu_switch() to kern_synch.c
To: Matt Thomas <matt@3am-software.com>
From: Daniel Sieger <dsieger@TechFak.Uni-Bielefeld.DE>
List: tech-kern
Date: 09/19/2006 22:11:48
--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?

Regards,
Daniel

--=20
Daniel Sieger  =20
Faculty of Technology
Bielefeld University

--mojUlQ0s9EVzWg2t
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (SunOS)

iD8DBQFFEE8EJUKmeYzbnToRArKzAJ4uX1RdoeOokT4z76n1anjRHI5xggCbBH2O
RpNCwrkPEijyZDjrG63XsYI=
=COOc
-----END PGP SIGNATURE-----

--mojUlQ0s9EVzWg2t--