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

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

On Thu, Sep 22, 2022 at 10:10:40AM -0700, Kristen Carlson Accardi wrote:
> From: Sean Christopherson <sean.j.christopherson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>
> 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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> Signed-off-by: Kristen Carlson Accardi <kristen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> Cc: Sean Christopherson <seanjc-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>

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

BR, Jarkko