Re: [PATCH 3.1?] x86: Remove useless stts/clts pair in __switch_to

From: Ingo Molnar
Date: Mon Jul 25 2011 - 10:14:46 EST



* Andrew Lutomirski <luto@xxxxxxx> wrote:

> > Also, if you are tempted by the prospect of possibly enabling
> > vector instructions for the x86 kernel, we could try that too,
> > and get multiple speedups for the price of having to debug the
> > tree only once ;-)
>
> I'll play with it. I have some other cleanup / speedup ideas, too,
> and I'll see where they go. Given that the kernel doesn't really
> use floating-point math, I'm not sure that gcc will do much unless
> we turn on -ftree-vectorize, and that's a little scary.

It's indeed scary - but as long as it boots it would allow some
baseline figures to be estimated - is there any win, and if yes, how
much. It might be a complete dud in the end.

Thanks,

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/