diff options
author | 2025-05-12 11:27:36 +0200 | |
---|---|---|
committer | 2025-05-15 15:23:31 +0200 | |
commit | c50d295c37f2648a8d9e8a572fedaad027d134bb (patch) | |
tree | f005631be8e0e712a6b81180ad9b35b02f4f7896 /tools/perf/scripts/python/stackcollapse.py | |
parent | rds: Acquire per-CPU pointer within BH disabled section (diff) | |
download | wireguard-linux-c50d295c37f2648a8d9e8a572fedaad027d134bb.tar.xz wireguard-linux-c50d295c37f2648a8d9e8a572fedaad027d134bb.zip |
rds: Use nested-BH locking for rds_page_remainder
rds_page_remainder 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.
Add a local_lock_t to the data structure 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: Allison Henderson <allison.henderson@oracle.com>
Cc: linux-rdma@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://patch.msgid.link/20250512092736.229935-16-bigeasy@linutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions