]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqbypass: Explicitly track producer and consumer bindings
authorSean Christopherson <seanjc@google.com>
Fri, 16 May 2025 23:07:30 +0000 (16:07 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:38 +0000 (13:52 -0700)
commitadd57f493e0893ac0fb4acbdc441918d3e800f10
treec74ec1a31f682928de936baa8027ad5e26415893
parent2b521d86ee80a436a92445b8206d38d75aeb39ea
irqbypass: Explicitly track producer and consumer bindings

Explicitly track IRQ bypass producer:consumer bindings.  This will allow
making removal an O(1) operation; searching through the list to find
information that is trivially tracked (and useful for debug) is wasteful.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20250516230734.2564775-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
include/linux/irqbypass.h
virt/lib/irqbypass.c