Home
last modified time | relevance | path

Searched hist:"3 b46679c623c2766f4c56fd3f9ce8edbb38c5d20" (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dsrcutree.hdiff 3b46679c623c2766f4c56fd3f9ce8edbb38c5d20 Sat Mar 18 04:01:02 CET 2023 Paul E. McKenney <paulmck@kernel.org> srcu: Move heuristics fields from srcu_struct to srcu_usage

This commit moves the ->srcu_size_jiffies, ->srcu_n_lock_retries,
and ->srcu_n_exp_nodelay fields from the srcu_struct structure to the
srcu_usage structure to reduce the size of the former in order to improve
cache locality.

Suggested-by: Christoph Hellwig <hch@lst.de>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
Tested-by: "Zhang, Qiang1" <qiang1.zhang@intel.com>
Tested-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
/linux/kernel/rcu/
H A Dsrcutree.cdiff 3b46679c623c2766f4c56fd3f9ce8edbb38c5d20 Sat Mar 18 04:01:02 CET 2023 Paul E. McKenney <paulmck@kernel.org> srcu: Move heuristics fields from srcu_struct to srcu_usage

This commit moves the ->srcu_size_jiffies, ->srcu_n_lock_retries,
and ->srcu_n_exp_nodelay fields from the srcu_struct structure to the
srcu_usage structure to reduce the size of the former in order to improve
cache locality.

Suggested-by: Christoph Hellwig <hch@lst.de>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
Tested-by: "Zhang, Qiang1" <qiang1.zhang@intel.com>
Tested-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>