Re: Better CLONE_SETTLS support for Hammer

Ulrich Drepper (drepper@redhat.com)
Wed, 05 Mar 2003 11:32:36 -0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andi Kleen 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.

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.

- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ZlDV2ijCOnn/RHQRAncTAJ9TOHCpPZKWqD/1BeZVpzGenYvtZACcDaYJ
Y1kyJd90RT60PpyjnR9q1Mg=
=WADr
-----END PGP SIGNATURE-----

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