Re: [PATCH rcu 2/2] torture: Add lock_torture writer_fifo module parameter

From: John Stultz
Date: Mon Aug 07 2023 - 23:28:50 EST


On Thu, Jul 27, 2023 at 8:22 PM Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
>
> From: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
>
> This commit adds a module parameter that causes the locktorture writer
> to run at real-time priority.
>
> To use it:
> insmod /lib/modules/torture.ko random_shuffle=1
> insmod /lib/modules/locktorture.ko torture_type=mutex_lock rt_boost=1 rt_boost_factor=50 nested_locks=3 writer_fifo=1
> ^^^^^^^^^^^^^
>
> A predecessor to this patch has been helpful to uncover issues with the
> proxy-execution series.
>
> [ paulmck: Remove locktorture-specific code from kernel/torture.c. ]

Thanks again for improving this! I've switched over to your version
here in my test tree.

Acked-by: John Stultz <jstultz@xxxxxxxxxx>

thanks
-john