Skip to content
Snippets Groups Projects
Commit a7c072ef authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

scftorture: Block scftorture_invoker() kthreads for offline CPUs


Currently, CPU-hotplug operations might result in all but two
of (say) 100 CPUs being offline, which in turn might result in
false-positive diagnostics due to overload.  This commit therefore
causes scftorture_invoker() kthreads for offline CPUs to loop blocking
for 200 milliseconds at a time, thus continuously adjusting the number
of threads to match the number of online CPUs.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent de77d4da
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment