Re: Add prefetch switch stack hook in scheduler function

From: Ingo Molnar
Date: Fri Jul 29 2005 - 05:54:02 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> code like that always makes me think of duffs-device
> http://www.lysator.liu.se/c/duffs-device.html
>
> although it might be that the compiler generates better code from the
> current incarnation; just my .02 ;-)

yeah, will do that. First wanted to see whether it's worth it.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/