aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-05-12 09:27:33 +0000
committerPaolo Abeni <[email protected]>2025-05-15 13:23:31 +0000
commit82d9e6b9a0a164719a8df7584d9f7e42de443698 (patch)
tree083e88e6deeaba64ed170c5f8227f5ba332cdab0 /rust/macros/paste.rs
parentnet/sched: Use nested-BH locking for sch_frag_data_storage (diff)
downloadkernel-82d9e6b9a0a164719a8df7584d9f7e42de443698.tar.gz
kernel-82d9e6b9a0a164719a8df7584d9f7e42de443698.zip
mptcp: Use nested-BH locking for hmac_storage
mptcp_delegated_actions 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: Matthieu Baerts <[email protected]> Cc: Mat Martineau <[email protected]> Cc: Geliang Tang <[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