[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180413092441.cebb54suvjufw6m3@armageddon.cambridge.arm.com>
Date: Fri, 13 Apr 2018 10:24:41 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Will Deacon <will.deacon@....com>
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org,
boqun.feng@...il.com, longman@...hat.com,
paulmck@...ux.vnet.ibm.com, mingo@...nel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 00/13] kernel/locking: qspinlock improvements
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
Powered by blists - more mailing lists