From: Paul E. McKenney Date: Wed, 28 Jan 2015 22:09:43 +0000 (-0800) Subject: cpu: Make CPU-offline idle-loop transition point more precise X-Git-Tag: omap-for-v4.2/o2_dc~148^2~2^2^5~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=528a25b00e1f84eaba6c98e63f58ee0a8e472102;p=pandora-kernel.git cpu: Make CPU-offline idle-loop transition point more precise This commit uses a per-CPU variable to make the CPU-offline code path through the idle loop more precise, so that the outgoing CPU is guaranteed to make it into the idle loop before it is powered off. This commit is in preparation for putting the RCU offline-handling code on this code path, which will eliminate the magic one-jiffy wait that RCU uses as the maximum time for an outgoing CPU to get all the way through the scheduler. The magic one-jiffy wait for incoming CPUs remains a separate issue. Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed