commit | 3c8975b51a7bed5dd993c5c4eab245a121bdc728 | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Tue Mar 06 17:57:34 2012 +0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Mar 08 11:08:58 2012 -0800 |
tree | 7d0a897ecad698418d8f901eef94ed074a362465 | |
parent | 4c117013ddcbdf4bdd92a7830f80757eea520023 [diff] |
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 <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>