Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338815
b: refs/heads/master
c: 4898326
h: refs/heads/master
i:
  338813: c46e795
  338811: b54569f
  338807: e873009
  338799: d0cde28
  338783: aa1f13c
  338751: 2d9f22d
  338687: 4410a75
v: v3
  • Loading branch information
Paul E. McKenney authored and Paul E. McKenney committed Oct 23, 2012
1 parent 7c198ed commit 8e200f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: abfd6e58aed4f89fd69b9b17bc4b4527efe3a645
refs/heads/master: 489832609a1ad7189d11715d8cefb457d90182c5
9 changes: 8 additions & 1 deletion trunk/kernel/rcutorture.c
Original file line number Diff line number Diff line change
Expand Up @@ -1502,6 +1502,7 @@ rcu_torture_onoff(void *arg)
unsigned long delta;
int maxcpu = -1;
DEFINE_RCU_RANDOM(rand);
int ret;
unsigned long starttime;

VERBOSE_PRINTK_STRING("rcu_torture_onoff task started");
Expand All @@ -1522,7 +1523,13 @@ rcu_torture_onoff(void *arg)
torture_type, cpu);
starttime = jiffies;
n_offline_attempts++;
if (cpu_down(cpu) == 0) {
ret = cpu_down(cpu);
if (ret) {
if (verbose)
pr_alert("%s" TORTURE_FLAG
"rcu_torture_onoff task: offline %d failed: errno %d\n",
torture_type, cpu, ret);
} else {
if (verbose)
pr_alert("%s" TORTURE_FLAG
"rcu_torture_onoff task: offlined %d\n",
Expand Down

0 comments on commit 8e200f4

Please sign in to comment.