Re: [PATCH-tip] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

From: Peter Zijlstra
Date: Fri Dec 09 2016 - 11:05:49 EST


On Tue, Dec 06, 2016 at 02:14:42PM -0500, Waiman Long wrote:
> A number of cmpxchg calls in qspinlock_paravirt.h were replaced by more
> relaxed versions to improve performance on architectures that use LL/SC.

I would feel so much better if each change were to have some rationale
included. Either enumerate them in the changelog, or split them up into
smaller patches.