refperf: Provide module parameter to specify number of experiments
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 26 May 2020 00:22:24 +0000 (17:22 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:00:44 +0000 (12:00 -0700)
commitdbf28efdae7bb51032eeb0fe1b6bd07d6f0f9b6c
treecdcd6f94f937cf96c8978f93d5057d42f459d526
parent8fc28783a0c3704ea27505a25dbde8333d75380c
refperf: Provide module parameter to specify number of experiments

The current code uses the number of threads both to limit the number
of threads and to specify the number of experiments, but also varies
the number of threads as the experiments progress.  This commit takes
a different approach by adding an refperf.nruns module parameter that
specifies the number of experiments, and furthermore uses the same
number of threads for each experiment.

Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/refperf.c