On 25/10/21 14:19, David Woodhouse wrote:
So, with a fixed version of kvm_map_gfn() I suppose I could do the same, but that's*two* maps/unmaps for each interrupt? That's probably worse than just bouncing out and letting userspace do it!
Absolutely! The fixed version of kvm_map_gfn should not do any map/unmap, it should do it eagerly on MMU notifier operations.
Paolo