diff options
author | 2022-01-25 15:41:10 -0800 | |
---|---|---|
committer | 2022-04-11 15:51:08 -0700 | |
commit | c69a00a12e26cf4faffdcdb340cb2d059b61d57e (patch) | |
tree | 348f927f4e0c2ba0ec86e5c7913bd59ef7a7166f /include/linux/srcutree.h | |
parent | srcu: Ensure snp nodes tree is fully initialized before traversal (diff) | |
download | linux-rng-c69a00a12e26cf4faffdcdb340cb2d059b61d57e.tar.xz linux-rng-c69a00a12e26cf4faffdcdb340cb2d059b61d57e.zip |
srcu: Add boot-time control over srcu_node array allocation
This commit adds an srcu_tree.convert_to_big kernel parameter that either
refuses to convert at all (0), converts immediately at init_srcu_struct()
time (1), or lets rcutorture convert it (2). An addition contention-based
dynamic conversion choice will be added, along with documentation.
[ paulmck: Apply callback-scanning feedback from Neeraj Upadhyay. ]
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/srcutree.h')
0 files changed, 0 insertions, 0 deletions