Re: [PATCH for_v23 2/9] x86/sgx: Do not EWB SECS if the enclave is dead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 10, 2019 at 02:42:54PM -0700, Sean Christopherson wrote:
> Don't EWB if the enclave is dead when opportunistically zapping the SECS
> during reclaim as VA pages are freed by sgx_encl_destroy(), i.e.
> sgx_encl_ewb() will consume a bad encl->va_pages if the enclave has been
> destroyed.
> 
> Add a comment in sgx_encl_destroy() to explicit call out that it's ok to
> free VA pages.
> 
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>

Thank you.

Merged.

/Jarkko



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux