From: Paul E. McKenney Date: Tue, 12 Aug 2014 18:27:31 +0000 (-0700) Subject: rcu: Handle NOCB callbacks from irq-disabled idle code X-Git-Tag: omap-for-v3.19/prcm-cleanup~100^2~1^2~16^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1772947bd0126661866069157e95197e9c0020e9;p=pandora-kernel.git rcu: Handle NOCB callbacks from irq-disabled idle code If an RCU callback is queued on a no-CBs CPU from idle code with irqs disabled, and if that CPU stays idle forever after, the callback will never be invoked. This commit therefore adds a check for this situation in ____call_rcu_nocb(), invoking the RCU core solely for the purpose of the ensuing return-to-idle transition. (If the CPU doesn't return to idle, the next scheduling-clock interrupt will fix things up.) Reported-by: Amit Shah Signed-off-by: Paul E. McKenney Tested-by: Paul Gortmaker --- Reading git-diff-tree failed