Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2006 22:39:59 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_synch.c 
Message-ID:  <97086.1165531199@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 07 Dec 2006 14:43:57 GMT." <20061207144356.GB14587@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20061207144356.GB14587@FreeBSD.org>, Alexey Dokuchaev writes:
>On Thu, Nov 30, 2006 at 08:27:38AM +0000, Poul-Henning Kamp wrote:
>> phk         2006-11-30 08:27:38 UTC
>> 
>>   FreeBSD src repository
>> 
>>   Modified files:
>>     sys/kern             kern_synch.c 
>>   Log:
>>   Only grab the sched_lock if we actually need to modify the thread priority.
>>   
>>   During a buildworld only 2/3 of the calls to msleep actually changed
>>   the priority.
>
>Did you, by chance, have any benchmarks on this?

I didn't have time to do precise benchmarks and it wasn't statistically
significant in imprecise ones.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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