Messages in this thread | | | From | Leon Bottou <> | Subject | Re: pthread create() slow for many threads; also time to revisit 64b context switch optimization? | Date | Thu, 21 Aug 2008 16:35:37 +0000 (UTC) |
| |
Please do not remove MAP_32BIT as it has other uses.
Jamie Lokier wrote: > Also, is this _only_ useful for thread stacks, or are there other > memory allocations where 31-bitness affects execution speed on old P4s?lrich
Andi Kleen wrote: > MAP_32BIT was not actually added for this originally. It > was originally added for the X server's old dynamic loader, which > needed 2GB memory.
The dynamic loader of Lush (lush.sourceforge.net) also depends on this. Since it is tightly coupled with the lush compiler, removing this capability would cause major trouble. On the other hand, it does not need to be very fast...
- Leon Bottou
| |