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

Peter Zijlstra
2010-06-30T08:06:16Z

On Tue, 2010-06-29 at 15:32 +0100, Jan Beulich wrote:
> +static DEFINE_PER_CPU(arch_rwlock_t, spinning_rm_lock) = __ARCH_RW_LOCK_UNLOCKED;

why is that an arch_ lock?
why is that a rwlock?, those things are useless.