[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7961d0f7-d1e4-d631-5806-58607e50279d@redhat.com>
Date: Fri, 3 Dec 2021 10:49:17 -0500
From: Waiman Long <longman@...hat.com>
To: Kefeng Wang <wangkefeng.wang@...wei.com>,
Peter Zijlstra <peterz@...radead.org>
Cc: Ingo Molnar <mingo@...hat.com>, Will Deacon <will@...nel.org>,
Boqun Feng <boqun.feng@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Mark Rutland <mark.rutland@....com>,
"Paul E. McKenney" <paulmck@...nel.org>,
linux-kernel@...r.kernel.org, kasan-dev@...glegroups.com
Subject: Re: [PATCH v2 0/2] locking: Fix racy reads of owner->on_cpu
On 12/3/21 02:59, Kefeng Wang wrote:
> v2:
> - adding owner_on_cpu() refactor, shared by mutex/rtmutex/rwsem
>
> v1: https://lore.kernel.org/all/20211202101238.33546-1-elver@google.com/
>
> Kefeng Wang (1):
> locking: Make owner_on_cpu() into <linux/sched.h>
>
> Marco Elver (1):
> locking: Mark racy reads of owner->on_cpu
>
> include/linux/sched.h | 9 +++++++++
> kernel/locking/mutex.c | 11 ++---------
> kernel/locking/rtmutex.c | 5 ++---
> kernel/locking/rwsem.c | 9 ---------
> 4 files changed, 13 insertions(+), 21 deletions(-)
>
LGTM
Acked-by: Waiman Long <longman@...hat.com>
Powered by blists - more mailing lists