diff options
| author | Jiale Yao <yaojiale02@163.com> | 2026-10-03 17:38:06 +0800 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-10-09 13:55:57 -0600 |
| commit | 3b2e9b05011ee74543b6d17401bb02f1df3b93ff (patch) | |
| tree | 784cf9396f83a5d6d7589eb6b8cc5bfe250c84eb /tools/lib/python/kdoc/python_version.py | |
| parent | b30b52c2fb82e6d38ee2845a4d85e8254b44f3d8 (diff) | |
| download | linux-next-3b2e9b05011ee74543b6d17401bb02f1df3b93ff.tar.gz linux-next-3b2e9b05011ee74543b6d17401bb02f1df3b93ff.zip | |
vfio/pci: Drain eventfd RCU callbacks on module exit
vfio_pci_eventfd_replace_locked() defers freeing replaced eventfds to
vfio_pci_eventfd_rcu_free(). A callback can remain queued after
close_device() returns and the device driver module reference is dropped.
Once the dependent driver is removed, vfio-pci-core can be unloaded while
the callback still points into its module text.
Wait for outstanding RCU callbacks before vfio-pci-core exits.
Fixes: 98693e0897f7 ("vfio/pci: Use RCU for error/request triggers to avoid circular locking")
Signed-off-by: Jiale Yao <yaojiale02@163.com>
Link: https://lore.kernel.org/r/20261003093806.544631-1-yaojiale02@163.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
