On Tue, Oct 02, 2018 at 02:20:05PM +0100, Will Deacon wrote:
> > Ah, so the reason I write it like so is because when we get here,
> > val.locked_pending == 0, per the atomic_cond_read_acquire() condition.
>
> Ah, and I vaguely remember discussing this before. The way I read these
> transition dia
Hi Peter,
On Mon, Oct 01, 2018 at 09:10:22PM +0200, Peter Zijlstra wrote:
> On Mon, Oct 01, 2018 at 06:17:08PM +0100, Will Deacon wrote:
> > On Wed, Sep 26, 2018 at 01:01:19PM +0200, Peter Zijlstra wrote:
> > > +
> > > /*
> > > - * If we observe any contention; undo and queue.
> > > + * If we
On Mon, Oct 01, 2018 at 06:17:08PM +0100, Will Deacon wrote:
> On Wed, Sep 26, 2018 at 01:01:19PM +0200, Peter Zijlstra wrote:
> > +
> > /*
> > -* If we observe any contention; undo and queue.
> > +* If we observe contention, there was a concurrent lock.
>
> Nit: I think "concurrent lo
On Wed, Sep 26, 2018 at 01:01:19PM +0200, Peter Zijlstra wrote:
> While working my way through the code again; I felt the comments could
> use help.
>
> Signed-off-by: Peter Zijlstra (Intel)
> ---
> kernel/locking/qspinlock.c | 40
> 1 file changed, 28
While working my way through the code again; I felt the comments could
use help.
Signed-off-by: Peter Zijlstra (Intel)
---
kernel/locking/qspinlock.c | 40
1 file changed, 28 insertions(+), 12 deletions(-)
--- a/kernel/locking/qspinlock.c
+++ b/kernel/
5 matches
Mail list logo