torture: Stop onoff task if there is only one cpu
authorBoqun Feng <boqun.feng@gmail.com>
Mon, 2 May 2016 02:30:00 +0000 (10:30 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 14 Jun 2016 23:03:28 +0000 (16:03 -0700)
commit750db0f5f7d0ff6b86158015f02c275702639b20
tree6b97caf5c3f710d6e596cbe7ef7d305236cbe82f
parent682ed706c5bb1526b001bc69aa4ee1e8b456bfa6
torture: Stop onoff task if there is only one cpu

If the whole system has only one cpu, that cpu won't be able to be
offlined, so there is no need onoff task is stil running.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/torture.c
This page took 0.025917 seconds and 5 git commands to generate.