Re: improve log context annotations

Christoph Hellwig <[email protected]>
Newsgroups org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Tue, Jul 21, 2026 at 08:23:48AM -0700, Darrick J. Wong wrote:
> > More review is always good.  But as a reminder for the audience:
> > lockdep and the lock context annotations are two totally seaprate
> > things.  The former verifies the locking state at runtime, while
> > the latter is about compile-time enforcement for the cases where
> > that is possible.
> 
> <shrug> The new annotations are consistent with my understanding of the
> annotated functions, but as I don't build with clang I can't say I've
> actually dug into its auto-verifier features, let alone run it.

Even with clang you need to opt into the in the Makefile for XFS.
As mentioned in this cover letter we're not quite ready for
that yet, but I want to get there.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.