diff options
author | 2022-01-31 11:21:30 -0800 | |
---|---|---|
committer | 2022-05-03 10:19:39 -0700 | |
commit | a57ffb3c6b67e59e8632f731414b792eacc6cca0 (patch) | |
tree | 34d09d000fabf5eacfed74c7e5cd23a5959ddb70 /include/linux/cc_platform.h | |
parent | srcu: Add contention-triggered addition of srcu_node tree (diff) | |
download | wireguard-linux-a57ffb3c6b67e59e8632f731414b792eacc6cca0.tar.xz wireguard-linux-a57ffb3c6b67e59e8632f731414b792eacc6cca0.zip |
srcu: Automatically determine size-transition strategy at boot
This commit adds a srcutree.convert_to_big option of zero that causes
SRCU to decide at boot whether to wait for contention (small systems) or
immediately expand to large (large systems). A new srcutree.big_cpu_lim
(defaulting to 128) defines how many CPUs constitute a large system.
Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/cc_platform.h')
0 files changed, 0 insertions, 0 deletions