Re: [PATCH v2] locking/rtmutex: Annotate API and implementation
From: Sebastian Andrzej Siewior
Date: Tue May 05 2026 - 03:40:54 EST
On 2026-05-05 09:24:51 [+0200], Bart Van Assche wrote:
> On 5/5/26 9:01 AM, Sebastian Andrzej Siewior wrote:
> > On 2026-05-05 04:26:44 [+0200], Bart Van Assche wrote:
> > > Add lock context annotations to the rtmutex API and implementation and
> > > enable lock context analysis.
> >
> > Is this in addition to commit 90bb681dcdf7e ("locking/rtmutex: Add context analysis")
> > ?
>
> Yes. This patch add context annotations in header file
> <linux/rtmutex.h>. Maybe I overlooked something but I have not yet seen
> any other patch that adds context annotations in that header file.
I see. I don't know why CONTEXT_ANALYSIS_rtmutex was skipped. Was this
just a regular compile with newer clang or was there more to it? I do
remember clang was not complaining but then context-analysis flag was
missing…
> Thanks,
>
> Bart.
Sebastian