Re: Kernel rwlock design, Multicore and IGMP
From: Peter Zijlstra
Date: Sat Nov 13 2010 - 17:51:56 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/