diff options
author | Liam R. Howlett <[email protected]> | 2024-08-20 13:54:17 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-01 17:59:01 -0700 |
commit | f806de88d8f7f8191afd0fd9b94db4cd058e7d4f (patch) | |
tree | f45262d730d256cd077e7ef811adbc79ed13fd80 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 6dacd79d28842ff01f18b4900d897741aac5999e (diff) |
maple_tree: remove rcu_read_lock() from mt_validate()
The write lock should be held when validating the tree to avoid updates
racing with checks. Holding the rcu read lock during a large tree
validation may also cause a prolonged rcu read window and "rcu_preempt
detected stalls" warnings.
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Liam R. Howlett <[email protected]>
Reported-by: [email protected]
Cc: Hillf Danton <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions