On Wed, Jul 07, 2004 at 04:52:23PM -0700, Pete Zaitcev wrote: > On Wed, 7 Jul 2004 22:58:29 +0200 > Duncan Sands <[EMAIL PROTECTED]> wrote: > > > Is there any chance that a writer will wait for ever because readers > > never stop coming? > > If you want fairness, every kind of rw locks in Linux fails you. > You must use normal (non-rw) locks in such case. > > > Is it important to have several different > > readers hold the lock at the same time? > > Not typically. I argued against gratious use of rwlocks for years. > See http://www.advogato.org/person/Zaitcev/diary.html?start=153
I agree with Pete here. Why are we trying to implement a bastard BKL implementation here? With this implementation, it sounds like we can starve out legitimate users. Alan, why would we try to take a lock twice for the same codepath? thanks, greg k-h ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel