Re: Better CLONE_SETTLS support for Hammer

Andi Kleen (ak@suse.de)
Wed, 5 Mar 2003 22:21:07 +0100


On Wed, Mar 05, 2003 at 11:32:36AM -0800, Ulrich Drepper wrote:
> > If you just want to save one mmap/allocation: I think the context switch
> > overhead will be more expensive than the allocation.
>
> And two more things:
>
> 1. every process will already use the prctl(ARCH_SET_FS). We are
> talking here only about the 2nd thread and later. We need to use
> prctl(ARCH_SET_FS) for TLS support.

Not when you put it into the first four GB. Then you can use the same
calls as 32bit.

> 2. May I remind you that you were in the crowd who complained when we
> requested a dedicated thread register? Yes, I still would prefer that
> but I have no energy to battle for that.

I don't see the connection.

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