On Wed, Jun 05, 2024 at 03:55:05PM +0000, Fred Griffoul wrote: > The usual way to configure a device interrupt from userland is to write > the /proc/irq/<irq>/smp_affinity or smp_affinity_list files. When using > vfio to implement a device driver or a virtual machine monitor, this may > not be ideal: the process managing the vfio device interrupts may not be > granted root privilege, for security reasons. Thus it cannot directly > control the interrupt affinity and has to rely on an external command. For a long time I've been beating a drum that people need to stop using /proc/irq/../smp_affinity, so I like this idea :) Jason