[PATCH 2/5] asm-generic: ticket-lock: New generic ticket-based spinlock
Peter Zijlstra
peterz at infradead.org
Thu Mar 17 02:46:01 PDT 2022
On Wed, Mar 16, 2022 at 04:25:57PM -0700, Palmer Dabbelt wrote:
> From: Peter Zijlstra <peterz at infradead.org>
>
> This is a simple, fair spinlock. Specifically it doesn't have all the
> subtle memory model dependencies that qspinlock has, which makes it more
> suitable for simple systems as it is more likely to be correct.
>
> [Palmer: commit text]
> Signed-off-by: Palmer Dabbelt <palmer at rivosinc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>
>
> --
>
> I have specifically not included Peter's SOB on this, as he sent his
> original patch
> <https://lore.kernel.org/lkml/YHbBBuVFNnI4kjj3@hirez.programming.kicks-ass.net/>
> without one.
Fixed ;-)
More information about the linux-riscv
mailing list