Re: [PATCH V11 01/17] asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock

2023-09-13 Thread Leonardo Bras
On Wed, Sep 13, 2023 at 09:55:31AM +0800, Guo Ren wrote: > On Tue, Sep 12, 2023 at 3:05 AM Leonardo Brás wrote: > > > > On Sun, 2023-09-10 at 04:28 -0400, guo...@kernel.org wrote: > > > From: Guo Ren > > > > > > The arch_spinlock_t of qspinlock has contained the atomic_t val, which > > > satisfie

Re: [PATCH V11 01/17] asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock

2023-09-12 Thread Guo Ren
On Tue, Sep 12, 2023 at 3:05 AM Leonardo Brás wrote: > > On Sun, 2023-09-10 at 04:28 -0400, guo...@kernel.org wrote: > > From: Guo Ren > > > > The arch_spinlock_t of qspinlock has contained the atomic_t val, which > > satisfies the ticket-lock requirement. Thus, unify the arch_spinlock_t > > into

Re: [PATCH V11 01/17] asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock

2023-09-11 Thread Leonardo Brás
On Sun, 2023-09-10 at 04:28 -0400, guo...@kernel.org wrote: > From: Guo Ren > > The arch_spinlock_t of qspinlock has contained the atomic_t val, which > satisfies the ticket-lock requirement. Thus, unify the arch_spinlock_t > into qspinlock_types.h. This is the preparation for the next combo > sp

[PATCH V11 01/17] asm-generic: ticket-lock: Reuse arch_spinlock_t of qspinlock

2023-09-10 Thread guoren
From: Guo Ren The arch_spinlock_t of qspinlock has contained the atomic_t val, which satisfies the ticket-lock requirement. Thus, unify the arch_spinlock_t into qspinlock_types.h. This is the preparation for the next combo spinlock. Signed-off-by: Guo Ren Signed-off-by: Guo Ren --- include/as