Messages in this thread | | | Date | Wed, 13 Aug 2008 11:22:39 -0700 | From | Ulrich Drepper <> | Subject | Re: pthread_create() slow for many threads; also time to revisit 64b context switch optimization? |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Arjan van de Ven wrote: > yeah maybe we should also tell it we expect it to be used downwards. > Oh wait.. MAP_GROWSDOWN ?
MAP_GROWSDOWN is unusable because we have to allocate the entire address range for the stack. Otherwise some other allocation happens in that range and all of a sudden the stack cannot grow as much as needed anymore.
These flags really can be removed. They should not be used because they are outright dangerous.
- -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkijJm8ACgkQ2ijCOnn/RHQ7/wCfcrLJPlKmtY5AC3c+fuX9LGe8 +YwAnRqLCdSQvwOUdsAz8Hq9H3dmnqEA =BKsz -----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/
| |