Re: [PATCH] locking/rtmutex: Annotate API and implementation

From: Bart Van Assche

Date: Mon May 04 2026 - 02:24:12 EST


On 5/4/26 8:00 AM, Marco Elver wrote:
On Sat, 2 May 2026 at 03:54, Bart Van Assche <bvanassche@xxxxxxx> wrote:

Add lock context annotations to the rtmutex API and implementation and
enable lock context analysis.

Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

If I'm not mistaken, Peter was working on this concurrently?
https://lore.kernel.org/all/20260121111213.851599178@xxxxxxxxxxxxx/ ?

Hmm ... I don't see CONTEXT_ANALYSIS_rtmutex.o := y in any of Peter's
rtmutext patches. Did I perhaps overlook something? According to the
results of this query my patch is the first patch that enables context
analysis for rtmutex.c:
https://lore.kernel.org/all/?q=CONTEXT_ANALYSIS_rtmutex

Thanks,

Bart.