Re: RFC: scheduler, and per-arch switch_to

Thomas Capricelli (tcaprice@logatique.fr)
Mon, 11 Feb 2002 15:06:31 +0100


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/