summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-06-25 17:05:58 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-08-24 18:38:32 -0700
commit5022b8ac608f8b80b042a8041fe2738c4b9ea8cf (patch)
treec104e0a1205a5d4a04229aca2bbb7c8542dc7aa4 /kernel/workqueue.c
parent80c9476e683ec37ba45fd8e6a5c5081bea207e1a (diff)
downloadlinux-5022b8ac608f8b80b042a8041fe2738c4b9ea8cf.tar.gz
linux-5022b8ac608f8b80b042a8041fe2738c4b9ea8cf.tar.bz2
linux-5022b8ac608f8b80b042a8041fe2738c4b9ea8cf.zip
scftorture: Implement weighted primitive selection
This commit uses the scftorture.weight* kernel parameters to randomly chooses between smp_call_function_single(), smp_call_function_many(), and smp_call_function(). For each variant, it also randomly chooses whether to invoke it synchronously (wait=1) or asynchronously (wait=0). The percentage weighting for each option are dumped to the console log (search for "scf_sel_dump"). This accumulates statistics, which a later commit will dump out at the end of the run. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions