On Thu Feb 24 2011 at 04:28:50 +0000, Joerg Sonnenberger wrote: > Log Message: > Allow storing and receiving the LWP private pointer via ucontext_t > on all platforms except VAX and IA64. Add fast access via register for > AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace > the stack based pthread_self(). Implement skeleton support for Alpha, > HPPA, PowerPC, SPARC and SPARC64, but leave it disabled. > > Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in > machine/types.h and a corresponding __lwp_getprivate_fast in > machine/mcontext.h.
Did you run benchmarks? The initial data is quite alarming: Starting from a window including this commit gson's test run timeouts due to taking too long. Pgoyette's amd64 test run with sources from 2011-02-24 04:20:03 UTC took 1:20h to complete and sources from 2011-02-24 09:20:03 UTC took 1:47h to complete. Also, a few test failures seemed to pop up. -- älä karot toivorikkauttas, kyl rätei ja lumpui piisaa