diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2024-06-20 15:21:55 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-24 16:41:22 -0700 |
commit | 585aa621af6cd11d3d6f830965af3e45ee79ea51 (patch) | |
tree | 4974e3703e095ffcc2f0e2e11036b4c02a9e7cf9 /tools/perf/scripts/python/stackcollapse.py | |
parent | bdacf3e34945232037979b977d7f409f734a7226 (diff) |
net/tcp_sigpool: Use nested-BH locking for sigpool_scratch.
sigpool_scratch is a per-CPU variable and relies on disabled BH for its
locking. Without per-CPU locking in local_bh_disable() on PREEMPT_RT
this data structure requires explicit locking.
Make a struct with a pad member (original sigpool_scratch) and a
local_lock_t and use local_lock_nested_bh() for locking. This change
adds only lockdep coverage and does not alter the functional behaviour
for !PREEMPT_RT.
Cc: David Ahern <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions