Re: [next-20230322] Kernel WARN at kernel/workqueue.c:3182 (rcutorture)

From: Paul E. McKenney
Date: Thu Mar 23 2023 - 23:32:50 EST


On Fri, Mar 24, 2023 at 08:47:38AM +0530, Sachin Sant wrote:
>
> >>> Hello, Sachin, and it looks like you hit something that Zqiang and I
> >>> have been tracking down. I am guessing that you were using modprobe
> >>> and rmmod to make this happen, and that this happened at rmmod time.
> >>>
> >> Yes, the LTP test script rcu_torture.sh relies on modprobe to load/unload
> >> the rcutorture module.
> >>
> >>> Whatever the reproducer, does the following patch help?
> >>
> >> Thank you for the patch. Yes, with this patch applied, the test completes
> >> successfully without the reported warning.
> >
> > Very good, thank you! May we have your Tested-by?
>
> Tested-by: Sachin Sant <sachinp@xxxxxxxxxxxxx>


Thank you, and I will apply on the next rebase.

Thanx, Paul