cvs commit: src/sys/sys proc.h umtx.h src/sys/kernkern_thread.c
kern_umtx.c
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Mar 5 17:22:21 GMT 2005
On Sat, Mar 05, 2005 at 08:21:47AM -0700, Scott Long wrote:
> All David's change does is allocate the umtx_q object at thread
> creation, it doesn't allocate it on every contested lock operation
> like was first suggested. So yes, it likely slows down thread creation
> by a small amount, but there is already a lot of other overhead there.
> Thread allocation is already optimized by UMA, and it might be possible
> to optmize the sub-allocations by putting them under UMA too.
Ah, well. Thanks for explanation.
./danfe
More information about the cvs-src
mailing list