Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2000 16:52:03 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern kern_mutex.c kern_synch.c
Message-ID:  <XFMail.001129165203.jhb@FreeBSD.org>
In-Reply-To: <200011300051.eAU0pGY93323@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Nov-00 John Baldwin wrote:
> jhb         2000/11/29 16:51:16 PST
> 
>   Modified files:
>     sys/kern             kern_mutex.c kern_synch.c 
>   Log:
>   Fix up priority propagation:
>   - Use a better test for determining when a process is running.
>   - Convert some checks to assertions.
>   - Remove unnecessary tests.
>   - Save the priority before acquiring a mutex rather than in msleep(9).

This code is not entirely stable, though I'm not sure if this is due to other
stability problems in recent current or due to this, so it is not turned on by
default.  To turn it on, simply remove the #if 0 around the call to
propagate_priority() in mtx_enter_hard().

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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