Commit 8d67c155 authored by Uladzislau Rezki (Sony)'s avatar Uladzislau Rezki (Sony) Committed by Boqun Feng
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarUladzislau Rezki (Sony) <urezki@gmail.com>
Link: https://lore.kernel.org/r/20250227131613.52683-1-urezki@gmail.com


Signed-off-by: default avatarBoqun Feng <boqun.feng@gmail.com>
parent 6ea9a178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment