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