LWN.net Logo

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

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

Posted Aug 21, 2008 16:25 UTC (Thu) by leonb (guest, #3054)
Parent article: Re: pthread_create() slow for many threads; also time to revisit 64b context switch optimization?

MAP_32BIT should not go because it has uses other than the stack.
For instance Lush (lush.sf.net) uses it for implementing the
dynamic linking capabilities needed by its compiler.

This is because gcc compiles x86_64 with 
option -mcmodel=small by default and therefore the program 
and its symbols must be linked in the lower 2 GB of 
the address space. To make things more interesting, 
gcc currently does not implement the -mcmodel=large.

- L.






(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds