Re: [PATCH v2] seqlock,lockdep: Only check for preemption_disabled in non-rt
From: Ahmed S. Darwish
Date: Fri May 14 2021 - 00:55:43 EST
On Thu, May 13, 2021, Davidlohr Bueso wrote:
>
> And therefore converting it to an associated spinlock would avoid the
> preemption check, which is exactly what Ahmed has already done:
>
> bc8e0adff34 (net: xfrm: Use sequence counter with associated spinlock)
> e88add19f68 (net: xfrm: Localize sequence counter per network namespace)
>
> Sorry for the noise.
>
Exactly, so it seems everything is good on your side :)
(The pending patch queue I mentioned is much larger and gets rid of the
main packet scheduling sequence counter Qdisc::running, but I'm
brushing it up, then sending it for an internal review round, first.
There are already some workarounds in the RT tree for that one until
the correct fix is merged mainline.)
Kind regards,
--
Ahmed S. Darwish
Linutronix GmbH