Re: i386 PDA patches use of %gs

From: Arjan van de Ven
Date: Tue Sep 12 2006 - 03:53:45 EST


On Tue, 2006-09-12 at 00:48 -0700, Jeremy Fitzhardinge wrote:
> Arjan van de Ven wrote:
> > Jeremy, is there a reason you're specifically using %gs and not %fs? If
> > not, would you mind a switch to using %fs instead?
> >
>
> The main reason for using %gs was to take advantage of gcc's TLS
> support. I intend to measure the cost of gs vs fs, and if there's a
> significant difference I'll switch.

gcc can be fixed if needed. I don't see the kernel switching to use that
any time soon though...


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