Re: [PATCH] Introduce load_TLS to the "for" loop.

From: Andi Kleen
Date: Tue Mar 13 2007 - 16:56:04 EST


On Tue, Mar 13, 2007 at 10:31:27AM -0700, Jeremy Fitzhardinge wrote:
> Andi Kleen wrote:
> > On Tue, Mar 13, 2007 at 05:39:36PM +1100, Rusty Russell wrote:
> >
> >> GCC (4.1 at least) unrolls it anyway, but I can't believe this code
> >>
> >
> > Are you sure? Normally it doesn't unroll without -funroll-loops which
> > the kernel does normally not set. Especially not with -Os builds.
> >
>
> Does it matter either way in this case?

It's in the middle of the context switch.

-Andi
-
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/