Re: [PATCH v4 3/4] kvm: Add interruptible flag to __gfn_to_pfn_memslot()

From: Sean Christopherson
Date: Wed Oct 26 2022 - 18:49:47 EST


"KVM:" for the shortlog.

On Tue, Oct 11, 2022, Peter Xu wrote:
> Add a new "interruptible" flag showing that the caller is willing to be
> interrupted by signals during the __gfn_to_pfn_memslot() request. Wire it
> up with a FOLL_INTERRUPTIBLE flag that we've just introduced.
>
> This prepares KVM to be able to respond to SIGUSR1 (for QEMU that's the
> SIGIPI) even during e.g. handling an userfaultfd page fault.
>
> No functional change intended.
>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
> ---

Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>