Re: [PATCH 0/2] start using spin primitives in sched and locking

From: Nicholas Piggin
Date: Fri Sep 01 2017 - 00:01:41 EST


Hi guys,

Any thoughts on these?

Thanks,
Nick

On Sun, 20 Aug 2017 19:25:00 +1000
Nicholas Piggin <npiggin@xxxxxxxxx> wrote:

> Nicholas Piggin (2):
> locking: Use spin primitives for busy loops
> sched/idle: Use spin loop primitives for polling idle
>
> include/linux/bit_spinlock.h | 5 ++---
> include/linux/seqlock.h | 9 ++++-----
> kernel/locking/mcs_spinlock.h | 6 ++----
> kernel/locking/mutex.c | 10 ++++++++--
> kernel/locking/osq_lock.c | 17 +++++++++++++----
> kernel/locking/qrwlock.c | 11 ++++++++---
> kernel/locking/qspinlock.c | 14 ++++++++++----
> kernel/locking/qspinlock_paravirt.h | 16 ++++++++++++----
> kernel/locking/rwsem-xadd.c | 9 +++++++--
> kernel/sched/idle.c | 7 ++++++-
> 10 files changed, 72 insertions(+), 32 deletions(-)
>