]> git.karo-electronics.de Git - linux-beck.git/commit
rcu: ignore offline CPUs in last non-dyntick-idle CPU check
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 30 Mar 2010 10:40:36 +0000 (18:40 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 May 2010 18:08:31 +0000 (11:08 -0700)
commit5db356736acb9ba717df1aa9444e4e44cbb30a71
tree719d734fc3ef0f5fca3a7bf12a00dccfde278864
parent0c34029abdfdea64420cb4264c4e91a776b22157
rcu: ignore offline CPUs in last non-dyntick-idle CPU check

Offline CPUs are not in nohz_cpu_mask, but can be ignored when checking
for the last non-dyntick-idle CPU.  This patch therefore only checks
online CPUs for not being dyntick idle, allowing fast entry into
full-system dyntick-idle state even when there are some offline CPUs.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_plugin.h