Re: [PATCH 2/4, v2] x86: enlightenment for ticket spin locks - Xen implementation

Peter Zijlstra
2010-06-30T08:56:36Z

On Wed, 2010-06-30 at 09:52 +0100, Jan Beulich wrote:
> > why is that a rwlock?, those things are useless.
>
> Because potentially each CPU's lock gets acquired for reading during
> unlock, while only the locking CPU's one needs to be acquired for
> writing during lock.

Can you say: scalability nightmare? but then its Xen code so who cares..

/me pretends he never saw it