|
33 | 33 | MODULE_LICENSE("GPL");
|
34 | 34 | MODULE_AUTHOR( "Paul E. McKenney <[email protected]>");
|
35 | 35 |
|
36 |
| -torture_param(int, nwriters_stress, -1, "Number of write-locking stress-test threads"); |
37 |
| -torture_param(int, nreaders_stress, -1, "Number of read-locking stress-test threads"); |
38 | 36 | torture_param(int, long_hold, 100, "Do occasional long hold of lock (ms), 0=disable");
|
| 37 | +torture_param(int, nested_locks, 0, "Number of nested locks (max = 8)"); |
| 38 | +torture_param(int, nreaders_stress, -1, "Number of read-locking stress-test threads"); |
| 39 | +torture_param(int, nwriters_stress, -1, "Number of write-locking stress-test threads"); |
39 | 40 | torture_param(int, onoff_holdoff, 0, "Time after boot before CPU hotplugs (s)");
|
40 | 41 | torture_param(int, onoff_interval, 0, "Time between CPU hotplugs (s), 0=disable");
|
| 42 | +torture_param(int, rt_boost, 2, |
| 43 | + "Do periodic rt-boost. 0=Disable, 1=Only for rt_mutex, 2=For all lock types."); |
| 44 | +torture_param(int, rt_boost_factor, 50, "A factor determining how often rt-boost happens."); |
41 | 45 | torture_param(int, shuffle_interval, 3, "Number of jiffies between shuffles, 0=disable");
|
42 | 46 | torture_param(int, shutdown_secs, 0, "Shutdown time (j), <= zero to disable.");
|
43 | 47 | torture_param(int, stat_interval, 60, "Number of seconds between stats printk()s");
|
44 | 48 | torture_param(int, stutter, 5, "Number of jiffies to run/halt test, 0=disable");
|
45 |
| -torture_param(int, rt_boost, 2, |
46 |
| - "Do periodic rt-boost. 0=Disable, 1=Only for rt_mutex, 2=For all lock types."); |
47 |
| -torture_param(int, rt_boost_factor, 50, "A factor determining how often rt-boost happens."); |
48 | 49 | torture_param(int, writer_fifo, 0, "Run writers at sched_set_fifo() priority");
|
49 | 50 | torture_param(int, verbose, 1, "Enable verbose debugging printk()s");
|
50 |
| -torture_param(int, nested_locks, 0, "Number of nested locks (max = 8)"); |
51 | 51 | /* Going much higher trips "BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low!" errors */
|
52 | 52 | #define MAX_NESTED_LOCKS 8
|
53 | 53 |
|
|
0 commit comments