On Wed, Aug 07, 2019 at 05:12:54PM -0700, Sean Christopherson wrote: > Add sgx_encl_shrink() to pair with sgx_encl_grow() and use it to adjust > the VA page count when ECREATE or EADD fails. Return the allocated VA > page from sgx_encl_grow() so that it can be freed during shrink. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko