How priority propagation works on read/write lock?

John Baldwin jhb at freebsd.org
Tue Jan 17 10:41:16 PST 2006


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 at 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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list