diff options
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2025-02-27 16:16:11 +0300 |
---|---|---|
committer | Boqun Feng <boqun.feng@gmail.com> | 2025-03-05 05:44:29 +0300 |
commit | 8d67c1558a71475e638fee09e588e12834043069 (patch) | |
tree | 25e85df007e1f895767cf781090e1c1efff9b093 /rust/helpers/helpers.c | |
parent | 6ea9a1781c70a8be1fcdc49134fc1bf4baba8bca (diff) | |
download | linux-8d67c1558a71475e638fee09e588e12834043069.tar.xz |
rcutorture: Allow a negative value for nfakewriters
Currently "nfakewriters" parameter can be set to any value but
there is no possibility to adjust it automatically based on how
many CPUs a system has where a test is run on.
To address this, if the "nfakewriters" is set to negative it will
be adjusted to num_online_cpus() during torture initialization.
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Link: https://lore.kernel.org/r/20250227131613.52683-1-urezki@gmail.com
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions