diff options
author | Dietmar Eggemann <[email protected]> | 2023-06-02 22:02:10 +0000 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2023-08-14 15:01:07 -0700 |
commit | 5d248bb39fe1388943acb6510f8f48fa5570e0ec (patch) | |
tree | 57c9dfa277a5cf58bfd9f4ef16daf220dc09a417 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 67d5404d274376890d6d095a10e6565854918f8e (diff) |
torture: Add lock_torture writer_fifo module parameter
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. ]
Cc: "Paul E. McKenney" <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Joel Fernandes <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Valentin Schneider <[email protected]>
Cc: [email protected]
Signed-off-by: Dietmar Eggemann <[email protected]>
[jstultz: Include header change to build, reword commit message]
Signed-off-by: John Stultz <[email protected]>
Acked-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions