From 6449e9f128ea0aa1bfccfceb7cbadc655bc1608f Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Wed, 30 Mar 2011 09:10:44 -0700 Subject: [PATCH] --- yaml --- r: 245753 b: refs/heads/master c: 561190e3b3db372403fb6a327b0121b4cae1b87e h: refs/heads/master i: 245751: d53c45fe524e02efa425d2a640bf202fe89536e5 v: v3 --- [refs] | 2 +- trunk/kernel/rcutorture.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e24ae9cf9cd9..f71e2b5079fd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b0c9d7ff2793502650ad987c3f237d5fe5587a1e +refs/heads/master: 561190e3b3db372403fb6a327b0121b4cae1b87e diff --git a/trunk/kernel/rcutorture.c b/trunk/kernel/rcutorture.c index c2f58ec24751..2e138db03382 100644 --- a/trunk/kernel/rcutorture.c +++ b/trunk/kernel/rcutorture.c @@ -749,6 +749,7 @@ static int rcu_torture_boost(void *arg) n_rcu_torture_boost_rterror++; } + init_rcu_head_on_stack(&rbi.rcu); /* Each pass through the following loop does one boost-test cycle. */ do { /* Wait for the next test interval. */ @@ -808,6 +809,7 @@ checkwait: rcu_stutter_wait("rcu_torture_boost"); /* Clean up and exit. */ VERBOSE_PRINTK_STRING("rcu_torture_boost task stopping"); + destroy_rcu_head_on_stack(&rbi.rcu); rcutorture_shutdown_absorb("rcu_torture_boost"); while (!kthread_should_stop() || rbi.inflight) schedule_timeout_uninterruptible(1);