[PATCH v2 00/13] kernel/locking: qspinlock improvements

Catalin Marinas catalin.marinas at arm.com
Fri Apr 13 02:24:41 PDT 2018


On Wed, Apr 11, 2018 at 07:01:07PM +0100, Will Deacon wrote:
>   * Spin for a bounded duration while lock is observed in the
>     pending->locked transition

FWIW, I updated my model [1] to include the bounded handover loop and,
as expected, it passes the liveness check (well, assuming fairness of
other operations like fetch_or, cmpxchg etc).

[1] https://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/kernel-tla.git/tree/qspinlock.tla

-- 
Catalin



More information about the linux-arm-kernel mailing list