Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2006 13:11:17 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        kamalp@acm.org
Cc:        freebsd-hackers@freebsd.org, prime <guomingyan@gmail.com>
Subject:   Re: How priority propagation works on read/write lock?
Message-ID:  <200601171311.20570.jhb@freebsd.org>
In-Reply-To: <ac7deb50601152108l15a98197v9eaeaa5a8f0e2d1e@mail.gmail.com>
References:  <1fa17f810601122232l25551bc5n4e4a01ff6b7921e@mail.gmail.com> <200601131422.15208.jhb@freebsd.org> <ac7deb50601152108l15a98197v9eaeaa5a8f0e2d1e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 16 January 2006 00:08, Kamal R. Prasad wrote:
> you mean, boosting the priority of a reader would be required to avoid
> priority inversion, but difficult to implement?
>
> regards
> -kamal
>
> On 1/14/06, John Baldwin <jhb@freebsd.org> wrote:
> > I think you just kind of punt and do a best effort.  Trying to manage a
> > list
> > of current read lock holders would be a bit PITA.

Yes.  The actual boosting is rather simple, it's keeping track of who has read 
locks that is ugly.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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