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

Jarkko Sakkinen
2022-09-23T12:52:15Z

On Thu, Sep 22, 2022 at 10:10:40AM -0700, Kristen Carlson Accardi wrote:
> From: Sean Christopherson <sean.j.christopherson@intel.com>
>
> 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@intel.com>
> Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
> Cc: Sean Christopherson <seanjc@google.com>

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

BR, Jarkko