Re: [PATCH v2 0/5] Switch arm64 over to qrwlock

From: Peter Zijlstra
Date: Mon Oct 09 2017 - 02:52:53 EST


On Mon, Oct 09, 2017 at 12:30:52AM +0300, Yury Norov wrote:
> The bottomline of discussion [1] was that queued locks are more
> effective when SoC has many CPUs. And 4 is not many.

qspinlock, yes. qrwlock not, as it fully depends on arch_spinlock_t for
the queueing. qrwlock is just a generic rwlock_t implementation.