summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorUladzislau Rezki (Sony) <urezki@gmail.com>2025-02-27 16:16:11 +0300
committerBoqun Feng <boqun.feng@gmail.com>2025-03-05 05:44:29 +0300
commit8d67c1558a71475e638fee09e588e12834043069 (patch)
tree25e85df007e1f895767cf781090e1c1efff9b093 /rust/helpers/helpers.c
parent6ea9a1781c70a8be1fcdc49134fc1bf4baba8bca (diff)
downloadlinux-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