diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 170814dc418f63a4753b1cfdae39d4d2dbff78cf..6d939a645da1532679a9c40dfb5b5c150ca1b0ce 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h @@ -1667,7 +1667,7 @@ int rcu_needs_cpu(int cpu, unsigned long *dj) rdtp->last_accelerate = jiffies; /* Request timer delay depending on laziness, and round. */ - if (rdtp->all_lazy) { + if (!rdtp->all_lazy) { *dj = round_up(rcu_idle_gp_delay + jiffies, rcu_idle_gp_delay) - jiffies; } else {