Re: [PATCH v3 04/20] mm: VMA sequence count

From: Peter Zijlstra
Date: Mon Sep 25 2017 - 08:22:54 EST


On Fri, Sep 15, 2017 at 02:38:51PM +0200, Laurent Dufour wrote:
> > /*
> > * well... answering your question - it seems raw versions of seqcount
> > * functions don't call lockdep's lock_acquire/lock_release...
> > *
> > * but I have never told you that. never.
> > */
>
> Hum... I'm not sure that would be the best way since in other case lockdep
> checks are valid, but if getting rid of locked's warning is required to get
> this series upstream, I'd use raw versions... Please advice...

No sensible other way to shut it up come to mind though. Might be best
to use the raw primitives with a comment explaining why.