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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ulrich Drepper <drepper@...>
Cc: Ingo Molnar <mingo@...>, Arjan van de Ven <arjan@...>, <akpm@...>, <hugh@...>, <linux-mm@...>, <linux-kernel@...>, <briangrant@...>, <cgd@...>, <mbligh@...>, Linus Torvalds <torvalds@...>, Thomas Gleixner <tglx@...>
Date: Wednesday, August 13, 2008 - 12:05 pm

Ulrich Drepper wrote:
 >

This could also be done entirely in glibc (thus removing the dependency 
on the kernel): set the flag if and only if you detect a P4 CPU.  You 
don't even need to enumerate all the CPUs in the system (which would be 
more painful) if you make the CPUID test wide enough that it catches all 
compatible CPUs.

	-hpa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: pthread_create() slow for many threads; also time to rev..., H. Peter Anvin, (Wed Aug 13, 12:05 pm)