aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-01-22 19:23:00 -0800
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-03-26 14:42:53 -0700
commit24aca4aea4f0179e0e56cf9ec610c27d07702945 (patch)
tree72f765ac677410cbe5cf9fd69a156efb10b34df9 /tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh
parentLinux 5.1-rc1 (diff)
downloadlinux-dev-24aca4aea4f0179e0e56cf9ec610c27d07702945.tar.xz
linux-dev-24aca4aea4f0179e0e56cf9ec610c27d07702945.zip
torture: Don't try to offline the last CPU
If there is only one online CPU, it doesn't make sense to try to offline it, as any such attempt is guaranteed to fail. This commit therefore check for this condition and refuses to attempt the nonsensical. Reported-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Tested-By: Su Yue <suy.fnst@cn.fujitsu.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions