summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2012-03-06 10:57:34 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-04-30 19:48:24 +0200
commitdc87917501e324701dbfb249def44054b5220187 (patch)
treee39ebf104875f11b8f6fd56e98366918bacc4dca /include/scsi
parentrcu: Remove unused srcu_barrier() (diff)
downloadlinux-dc87917501e324701dbfb249def44054b5220187.tar.xz
linux-dc87917501e324701dbfb249def44054b5220187.zip
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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions