From: Lai Jiangshan Date: Tue, 6 Mar 2012 09:57:34 +0000 (+0800) Subject: rcu: Improve srcu_readers_active_idx()'s cache locality X-Git-Tag: v3.5-rc1~164^2^2^4~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc87917501e324701dbfb249def44054b5220187;p=pandora-kernel.git rcu: Improve srcu_readers_active_idx()'s cache locality Expand the calls to srcu_readers_active_idx() from srcu_readers_active() inline. This change improves cache locality by interating over the CPUs once rather than twice. Signed-off-by: Lai Jiangshan Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed