Re: pthread_create() slow for many threads; also time to revisit 64b context switch optimization?

From: Leon Bottou
Date: Thu Aug 21 2008 - 12:40:27 EST


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

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