public inbox for virtio-comment@lists.linux.dev
 help / color / mirror / Atom feed
* Asymptotic complexity of enabling and disabling MSI-X interrupts
@ 2026-04-06 23:12 Demi Marie Obenour
  0 siblings, 0 replies; only message in thread
From: Demi Marie Obenour @ 2026-04-06 23:12 UTC (permalink / raw)
  To: virtio-comment


[-- Attachment #1.1.1: Type: text/plain, Size: 443 bytes --]

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).
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-06 23:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-06 23:12 Asymptotic complexity of enabling and disabling MSI-X interrupts Demi Marie Obenour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox