Re: [PATCH] rcutorture: Avoid soft lockup during cpu stall

From: Wander Costa
Date: Wed Nov 10 2021 - 07:24:17 EST


On Tue, Nov 9, 2021 at 5:47 PM Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
>
> On Tue, Nov 09, 2021 at 02:46:02PM -0300, wander@xxxxxxxxxx wrote:
> > From: Wander Lairson Costa <wander@xxxxxxxxxx>
> >
> > If we use the module stall_cpu option, we may get a soft lockup warning
> > if we also don't pass the stall_cpu_block option.
> >
> > We introduce the stall_no_softlockup option to avoid a soft lockup on
> > cpu stall even if we don't use the stall_cpu_block option.
> >
> > Signed-off-by: Wander Lairson Costa <wander@xxxxxxxxxx>
>
> This looks plausible to me, though it would be good to hear others'
> thoughts. In the meantime, could you please forward-port this to
> the "dev" branch of the -rcu tree?
>
> https://mirrors.edge.kernel.org/pub/linux/kernel/people/paulmck/rcutodo.html
>
> Thanx, Paul
>

Thank you for the feedback. I just sent a v2 against that applies to
the aforementioned branch.

Cheers,
Wander

[snip]