On Wed, Oct 16, 2019 at 11:37:39AM -0700, Sean Christopherson wrote: > Delete an enclave page's entry in the radix tree regardless of whether > or not it has an associated EPC page, and free the page itself when it's > deleted from the radix tree. > > Don't free/delete anything if the page is held by the reclaimer, as the > reclaimer needs the page itself and the driver needs the radix entry to > re-process the entry during sgx_encl_release(). > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Applied. /Jarkko