Re: [PATCH 2/2] torture: Add lock_torture_writer_fifo module param

From: Davidlohr Bueso
Date: Sat Jun 03 2023 - 14:08:35 EST


On Sat, 03 Jun 2023, Paul E. McKenney wrote:

On Fri, Jun 02, 2023 at 10:02:10PM +0000, John Stultz wrote:
From: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>

Modifies locktorture writer to run as RT task.

To use it:
insmod /lib/modules/torture.ko random_shuffle=1 lock_torture_writer_fifo=1
^^^^^^^^^^^^^^^^^^^^^^^^^^
insmod /lib/modules/locktorture.ko torture_type=mutex_lock rt_boost=1 rt_boost_factor=50 nested_locks=3

This patch has been helpful to uncover issues with the proxy-execution
seires.

Cc: Davidlohr Bueso <dave@xxxxxxxxxxxx>
Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxx>
Cc: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
Cc: Joel Fernandes <joel@xxxxxxxxxxxxxxxxx>
Cc: Juri Lelli <juri.lelli@xxxxxxxxxx>
Cc: Valentin Schneider <vschneid@xxxxxxxxxx>
Cc: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
Cc: kernel-team@xxxxxxxxxxx
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
[jstultz: Include header change to build, reword commit message]
Signed-off-by: John Stultz <jstultz@xxxxxxxxxx>

Queued and pushed, thank you all!

Both look good to me. Feel free to add my:

Acked-by: Davidlohr Bueso <dave@xxxxxxxxxxxx>