Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: Kernel rwlock design, Multicore and IGMP | From | Peter Zijlstra <> | Date | Sat, 13 Nov 2010 23:52:03 +0100 |
| |
On Thu, 2010-11-11 at 21:49 +0800, Cypher Wu wrote: > I'm using TILEPro and its rwlock in kernel is a liitle different than > other platforms. It have a priority for write lock that when tried it > will block the following read lock even if read lock is hold by > others.
That's a bug, rwlock_t must most definitely be a read preference lock, there's tons of code depending on that.
| ![\](/images/icornerr.gif) |