Re: [PATCH] KVM: x86/mmu: Release the pfn in handle_abnormal_pfn() error path

From: Sean Christopherson
Date: Fri Oct 21 2022 - 11:12:56 EST


On Fri, Oct 21, 2022, Fuad Tabba wrote:
> Currently in case of error it returns without releasing the pfn
> faulted in earlier.

handle_abnormal_pfn() returns something other than RET_PF_CONTINUE if and only if
there was no pfn to fault-in, i.e. it only handles error and no-slot pfns.