]> www.infradead.org Git - users/dwmw2/linux.git/commit
torture: Add torture.sh --guest-cpu-limit argument for limited hosts
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:37:50 +0000 (17:37 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 10:54:06 +0000 (16:24 +0530)
commit1c5144a066fd17eba681b3d6b0f86bda8e06fbfa
tree7bff714ed5514c24b5cd7b5a042610c2079c9565
parent58cb3210543591c1783a9a884adf27708f19d2a1
torture: Add torture.sh --guest-cpu-limit argument for limited hosts

Some servers have limitations on the number of CPUs a given guest OS
can use.  In my earlier experience, such limitations have been at least
half of the host's CPUs, but in a recent example, this limit is less
than 40%.  This commit therefore adds a --guest-cpu-limit argument that
allows such low limits to be made known to torture.sh.

Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/bin/torture.sh