[PATCH v2 00/12] Interrupt fixes for leaks and warnings
David Marchand
david.marchand at redhat.com
Sat Oct 24 15:21:25 CEST 2026
Following commit d770ee9caed0 ("interrupts: warn on leaked FDs"), a
number of leaks, but also false positive warnings have been identified.
The most notable change in this series is the removal of the interrupt
handle duplication. I concluded the principle is wrong (see patch 2
commitlog).
This will need some careful reviews.
--
David Marchand
Changes since v1:
- added Anatoly fixes which also extend the interrupt check to efds
https://patchwork.dpdk.org/project/dpdk/list/?series=39788&state=*
Anatoly Burakov (3):
eal/linux: fix closing of event FDs not owned by EAL
eal/linux: fix eventfd leaks when enabling interrupts
interrupts: warn on leaked event FDs
David Marchand (7):
eal/linux: reset FD in interrupt handle for uevent
interrupts: do not duplicate interrupt handles
net/mana: reset FD in interrupt handle
net/memif: fix some interrupt FD leaks
net/memif: reset FD in interrupt handle
net/sxe2: reset FD in interrupt handle
raw/ifpga: reset FD in interrupt handle
Stephen Hemminger (2):
eal/linux: fix FD leak in alarm subsystem
bus/pci: reset VFIO device FD after release
doc/guides/rel_notes/release_26_11.rst | 1 +
drivers/bus/pci/linux/pci_vfio.c | 4 +-
drivers/common/cnxk/roc_platform.h | 1 -
drivers/net/mana/mana.c | 4 ++
drivers/net/memif/memif_socket.c | 28 ++++++--
drivers/net/sxe2/sxe2_irq.c | 2 +
drivers/raw/ifpga/ifpga_rawdev.c | 2 +
lib/eal/common/eal_common_interrupts.c | 31 ++-------
lib/eal/freebsd/eal_interrupts.c | 17 ++---
lib/eal/include/rte_interrupts.h | 24 ++-----
lib/eal/linux/eal_alarm.c | 1 +
lib/eal/linux/eal_dev.c | 4 +-
lib/eal/linux/eal_interrupts.c | 94 +++++++++++++++-----------
13 files changed, 109 insertions(+), 104 deletions(-)
--
2.54.0
More information about the dev
mailing list