path: root/tools/testing/selftests/rcutorture/bin/jitter.sh
Commit message (Collapse)AuthorAgeFilesLines
* rcutorture: Add cpu0 to the set of CPUs to add jitterJoel Fernandes (Google)2019-05-281-2/+6
| | | | | | | | jitter.sh currently does not add CPU0 to the list of CPUs for adding of jitter. Let us add it to this list even when it is not hot-pluggable. Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
* rcutorture: Select from only online CPUsJoel Fernandes (Google)2019-05-281-2/+3
| | | | | | | | | | | | The rcutorture jitter.sh script selects a random CPU but does not check if it is offline or online. This leads to taskset errors many times. On my machine, hyper threading is disabled so half the cores are offline causing taskset errors a lot of times. Let us fix this by checking from only the online CPUs on the system. Cc: rcu@vger.kernel.org Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
* tools/.../rcutorture: Convert to SPDX license identifierPaul E. McKenney2019-03-261-15/+2
| | | | | | | Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address and add copyright notices. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
* rcutorture: Add OS-jitter capabilityPaul E. McKenney2016-04-211-0/+90
This commit adds a --jitter OS-jitter capability to expose bugs based on no-delay assumptions. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>