[PATCH v2 0/4] Lock context annotation fixes

From: Bart Van Assche

Date: Wed Feb 25 2026 - 13:34:03 EST


Hi Peter,

Some of the lock context annotations that have been introduced during the most
recent merge window were incomplete or incorrect. Hence this patch series with
fixes. Please consider this patch series for the current kernel development
cycle.

Thanks,

Bart.

Changes compared to v1:
- Expanded Cc-list. Added the linux-kernel mailing list and more kernel developers
to the Cc-list.
- Added Maarten's Acked-by to patch 3/4.

Bart Van Assche (4):
locking: Fix rwlock and spinlock lock context annotations
signal: Fix the lock_task_sighand() annotation
ww-mutex: Fix the ww_acquire_ctx function annotations
Revert "lockdep: Annotate lockdep assertions for context analysis"

include/linux/lockdep.h | 12 ++++++------
include/linux/rwlock.h | 4 ++--
include/linux/rwlock_api_smp.h | 6 ++++--
include/linux/sched/signal.h | 2 +-
include/linux/spinlock.h | 3 ++-
include/linux/ww_mutex.h | 4 ++--
lib/test_context-analysis.c | 6 +++---
mm/kfence/report.c | 1 +
8 files changed, 21 insertions(+), 17 deletions(-)