diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2022-12-13 20:48:39 +0000 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-01-05 12:10:35 -0800 |
commit | c24501b240741907ddfce52ffc186792db5ad3a5 (patch) | |
tree | da1f40a32fd7662cdcede518236e2935a9e4049e /include/linux/fpga/fpga-mgr.h | |
parent | e01f3a1a589e314cf27bd2cb27d9c2c58e105a27 (diff) |
locktorture: Make the rt_boost factor a tunable
The rt boosting in locktorture has a factor variable s currently large enough
that boosting only happens once every minute or so. Add a tunable to reduce the
factor so that boosting happens more often, to test paths and arrive at failure
modes earlier. With this change, I can set the factor to like 50 and have the
boosting happens every 10 seconds or so.
Tested with boot parameters:
locktorture.torture_type=mutex_lock
locktorture.onoff_interval=1
locktorture.nwriters_stress=8
locktorture.stutter=0
locktorture.rt_boost=1
locktorture.rt_boost_factor=50
locktorture.nlocks=3
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions