Re: [PATCH v2 0/5] seqlock: Introduce PREEMPT_RT support

From: Qian Cai
Date: Wed Sep 16 2020 - 17:07:24 EST




----- Original Message -----
> On Wed, Sep 16, 2020 at 08:52:07AM -0400, Qian Cai wrote:
> > On Tue, 2020-09-15 at 16:30 +0200, peterz@xxxxxxxxxxxxx wrote:
> > > On Tue, Sep 15, 2020 at 08:48:17PM +0800, Boqun Feng wrote:
> > > > I think this happened because seqcount_##lockname##_init() is defined
> > > > at
> > > > function rather than macro, so when the seqcount_init() gets expand in
> > >
> > > Bah! I hate all this :/
> > >
> > > I suspect the below, while more verbose than I'd like is the best
> > > option.
> >
> > Stephen, can you add this patch for now until Peter beats you to it?
>
> Did you verify it works? I only wrote it..

Yes, I did.