Re: rwlocks, correctness over speed.
- From: Alfred Perlstein <alfred@xxxxxxxxxxx>
- Date: Thu, 22 Nov 2007 12:00:01 -0800
* Max Laier <max@xxxxxxxxxxxxxx> [071122 07:46] wrote:
On Wednesday 21 November 2007, Alfred Perlstein wrote:
In summary, I am proposing (temporarily) making read-recursion
on rwlocks not supported in order to avoid livelock due to writer
starvation.
rwlocks are already used in places that do recursive reads. The one place
Max, I think what will happen is that we will mark further uses
or read locks as recursive as "not supported", perhaps witness
can temporarily grow a flag to ignore recursive read ops until
the existing infrastructure is fixed.
I will not get into alternatives for pfil, as it seems you've mostly
worked it out.
-Alfred
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- rwlocks, correctness over speed.
- From: Alfred Perlstein
- Re: rwlocks, correctness over speed.
- From: Max Laier
- rwlocks, correctness over speed.
- Prev by Date: Re: rwlocks, correctness over speed.
- Next by Date: Re[2]: rwlocks, correctness over speed.
- Previous by thread: Re: rwlocks, correctness over speed.
- Next by thread: Re: rwlocks, correctness over speed.
- Index(es):
Relevant Pages
|
|