Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2005 17:22:21 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Scott Long <scottl@samsco.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys proc.h umtx.h src/sys/kernkern_thread.c kern_umtx.c
Message-ID:  <20050305172221.GA93457@FreeBSD.org>
In-Reply-To: <4229CE8B.20703@samsco.org>
References:  <200503050915.j259F30c058488@repoman.freebsd.org> <20050305101211.GA59471@FreeBSD.org> <4229CE8B.20703@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050305172221.GA93457>