Re: [PATCH v2 0/4] Lock context annotation fixes
From: Marco Elver
Date: Wed Feb 25 2026 - 13:44:58 EST
On Wed, 25 Feb 2026 at 19:33, Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> 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
I think the above look fine.
> Revert "lockdep: Annotate lockdep assertions for context analysis"
But this one is a Nack - it makes the programming model worse. If
there are lockdep_assert'able locks, those just need to become
context_lock_structs.