aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-05-12 09:27:36 +0000
committerPaolo Abeni <[email protected]>2025-05-15 13:23:31 +0000
commitc50d295c37f2648a8d9e8a572fedaad027d134bb (patch)
treef005631be8e0e712a6b81180ad9b35b02f4f7896 /rust/macros/paste.rs
parentrds: Acquire per-CPU pointer within BH disabled section (diff)
downloadkernel-c50d295c37f2648a8d9e8a572fedaad027d134bb.tar.gz
kernel-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 <[email protected]> Cc: [email protected] Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions