On 26/02/20 23:55, Peter Xu wrote: > + > + /* Kick resamplefd if KVM is bypassed */ > + kvm_resample_fd_notify(n);
This is only needed for level-triggered interrupts, so it can be placed below the test. Paolo > + if (((entry >> IOAPIC_LVT_TRIGGER_MODE_SHIFT) & 1) != > + IOAPIC_TRIGGER_LEVEL) { > continue;