summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-07-12 04:37:36 -0400
committerLeon Romanovsky <leonro@nvidia.com>2026-07-12 04:37:36 -0400
commite37cdd75f8d61c1123d324ae5667ac3da562290e (patch)
tree492dcfa3bf4fb0b0c72f237d6f01af97c68869a1 /scripts/dummy-tools/python3
parent7d75592114d1664623c8cf191a12b38052c04483 (diff)
downloadlinux-e37cdd75f8d61c1123d324ae5667ac3da562290e.tar.gz
linux-e37cdd75f8d61c1123d324ae5667ac3da562290e.zip
RDMA/mlx5: Drain RCU callbacks during module teardown
devx_free_subscription() can remain queued after the last DevX event file drops its module reference or an auxiliary driver detaches its devices. mlx5_ib can then unload before the callback runs. Registration error unwind has the same risk because driver registration can attach existing devices before failing. Wait after all drivers have stopped. Fixes: 6898d1c661d7 ("RDMA/mlx5: Use RCU and direct refcounts to keep memory alive") Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Closes: https://lore.kernel.org/linux-rdma/20260708092316.Qb39F_B0@linutronix.de/ Link: https://patch.msgid.link/20260709-unload-rcu-v1-2-fccd27211e5a@nvidia.com Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions