diff --git a/[refs] b/[refs] index b44deed9006f..7ab1c179122b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5d4b86594984d8746b01487c768d8548463c173f +refs/heads/master: 661a85dc0d2ec0404e3b80909e413a9d5e42a239 diff --git a/trunk/kernel/rcutree.c b/trunk/kernel/rcutree.c index 145f27fe3a1f..f0f3a18c0a20 100644 --- a/trunk/kernel/rcutree.c +++ b/trunk/kernel/rcutree.c @@ -52,6 +52,7 @@ #include #include #include +#include #include "rcutree.h" #include @@ -1087,6 +1088,10 @@ static int rcu_gp_init(struct rcu_state *rsp) rnp->level, rnp->grplo, rnp->grphi, rnp->qsmask); raw_spin_unlock_irq(&rnp->lock); +#ifdef CONFIG_PROVE_RCU_DELAY + if ((random32() % (rcu_num_nodes * 8)) == 0) + schedule_timeout_uninterruptible(2); +#endif /* #ifdef CONFIG_PROVE_RCU_DELAY */ cond_resched(); }