[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260121110704.221498346@infradead.org>
Date: Wed, 21 Jan 2026 12:07:04 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: elver@...gle.com
Cc: linux-kernel@...r.kernel.org,
bigeasy@...utronix.de,
peterz@...radead.org,
mingo@...nel.org,
tglx@...utronix.de,
will@...nel.org,
boqun.feng@...il.com,
longman@...hat.com,
hch@....de,
rostedt@...dmis.org,
bvanassche@....org,
llvm@...ts.linux.dev
Subject: [RFC][PATCH 0/4] locking: Add/convert context analysis bits
Hai
This is on top of tip/locking/core with these patches on:
https://lkml.kernel.org/r/20260119094029.1344361-1-elver@google.com
and converts mutex, rtmutex, ww_mutex and futex to use the new context analysis
bits.
There is one snafu:
ww_mutex_set_context_fastpath()'s data_race() usage doesn't stop the compiler
from complaining when building a defconfig+PREEMPT_RT+LOCKDEP build:
../kernel/locking/ww_mutex.h:439:24: error: calling function '__ww_mutex_has_waiters' requires holding raw_spinlock 'lock->base.rtmutex.wait_lock' exclusively [-Werror,-Wthread-safety-analysis]
439 | if (likely(!data_race(__ww_mutex_has_waiters(&lock->base))))
| ^
1 error generated.
Powered by blists - more mailing lists