Re: [RFC PATCH v2 02/26] x86/sgx: Remove a warn from sgx_free_epc_page()

Jarkko Sakkinen
2021-01-19T08:33:34Z

On Mon, Jan 18, 2021 at 04:26:50PM +1300, Kai Huang wrote:
> From: "jarkko@kernel.org" <jarkko@kernel.org>
~~~~~~~~~~~~~~~~~~~
Jarkko Sakkinen

> Remove SGX_EPC_PAGE_RECLAIMER_TRACKED check and warning. This cannot
> happen, as enclave pages are freed only at the time when encl->refcount
> triggers, i.e. when both VFS and the page reclaimer have given up on
> their references.
>
> Signed-off-by: jarkko@kernel.org <jarkko@kernel.org>
~~~~~~~~~~~~~~~~~
Jarkko Sakkinen

> Signed-off-by: Kai Huang <kai.huang@intel.com>

Sorry about this. I was reconfiguring my environment (or actually was
moving it to another machine), and forgot to set user.name. I'll send you
in private replacements with a legit name.

/Jarkko