[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1289688723.2109.396.camel@laptop>
Date: Sat, 13 Nov 2010 23:52:03 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Cypher Wu <cypher.w@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Kernel rwlock design, Multicore and IGMP
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists