Re: uprobe splat in PREEMP_RT

Oleg Nesterov
2025-04-02T12:13:13Z

On 04/02, Sebastian Sewior wrote:
>
> On 2025-04-02 13:31:43 [+0200], Oleg Nesterov wrote:
> >
> > IOW.
> >
> > I understand that seqcount_t is not RT-friendly, but why exactly do
> > you think the patch above can make the things worse?
>
> We wouldn't notice such a case.

Sebastian, could you spell please?

What case we wouldn't notice?

With this patch write_seqcount_begin(seqcount_t) will notice that
seqprop_preemptible() is true and do preempt_disable() itself.

Oleg.