diff options
author | 2023-03-17 18:29:38 -0700 | |
---|---|---|
committer | 2023-04-04 08:36:07 -0700 | |
commit | b3fb11f7e9c3c64dd86403409a070c996d8ac081 (patch) | |
tree | 2494a8e1eaa9f5ba1121fbe435aee0bf1c1315b9 /scripts/generate_rust_analyzer.py | |
parent | srcu: Move ->lock initialization after srcu_usage allocation (diff) | |
download | linux-rng-b3fb11f7e9c3c64dd86403409a070c996d8ac081.tar.xz linux-rng-b3fb11f7e9c3c64dd86403409a070c996d8ac081.zip |
srcu: Move ->lock from srcu_struct to srcu_usage
This commit moves the ->lock field 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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions