aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2022-09-26 08:57:56 -0700
committerPaul E. McKenney <[email protected]>2022-10-21 10:08:43 -0700
commite9f8a790bf682bb4a2f79d0d905b34d55bceb71d (patch)
tree98bc145b5a7058418583d51108c55d08b109eca2 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentaba9645bd10bd9f793732b06495b1312ee44865e (diff)
slab: Explain why SLAB_TYPESAFE_BY_RCU reference before locking
It is not obvious to the casual user why it is absolutely necessary to acquire a reference to a SLAB_TYPESAFE_BY_RCU structure before acquiring a lock in that structure. Therefore, add a comment explaining this point. [ paulmck: Apply Vlastimil Babka feedback. ] Signed-off-by: Paul E. McKenney <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Hyeonggon Yoo <[email protected]> Cc: <[email protected]> Acked-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions