Re: [RFC PATCH 03/20] x86/sgx: Track owning enclave in VA EPC pages

From: Jarkko Sakkinen
Date: Fri Sep 23 2022 - 08:52:19 EST


On Thu, Sep 22, 2022 at 10:10:40AM -0700, Kristen Carlson Accardi wrote:
> From: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
>
> In order to fully account for an enclave's EPC page usage, store
> the owning enclave of a VA EPC page.
>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
> Signed-off-by: Kristen Carlson Accardi <kristen@xxxxxxxxxxxxxxx>
> Cc: Sean Christopherson <seanjc@xxxxxxxxxx>

Why this change fully accounts enclave's EPC page usage?

BR, Jarkko