Asymptotic complexity of enabling and disabling MSI-X interrupts
Is it okay for enabling and disabling an MSI-X interrupt vector to use O(N) time, where N is the number of virtqueues assigned to that vector? I am considering an implementation that uses one eventfd per virtqueue. Each eventfd is registered with KVM as an irqfd. Enabling or disabling an MSI-X vector will require one ioctl for each virtqueue assigned to that vector, which is O(N).
Signature · 2 lines
Sincerely, Demi Marie Obenour (she/her/hers)