diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2025-05-12 11:27:36 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-05-15 15:23:31 +0200 |
commit | c50d295c37f2648a8d9e8a572fedaad027d134bb (patch) | |
tree | f005631be8e0e712a6b81180ad9b35b02f4f7896 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0af5928f358c40c1fe5ede79f66f040e23124044 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions