Re: RFC: scheduler, and per-arch switch_to

From: Thomas Capricelli (tcaprice@logatique.fr)
Date: Mon Feb 11 2002 - 09:06:31 EST


I agree. While porting to zeta (see previous mail), i've had a look at some
different arch/ implementation of switch_to(), and i have not been able to
understand why the third arg was given.
Anyway, I don't use it, and I'm happy with this new interface.

Thomas

On Monday 11 February 2002 14:29, Jeff Garzik wrote:
> Do we really care about the third arg to the switch_to() macro?
>
> IMHO it would be nice to define the architecture context switch
> interface like
>
> void switch_to(struct thread_info *from, struct thread_info *to);
>
> because we don't really seem to do much with the third arg, AFAICS.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:39 EST