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

Kai Huang
2021-01-20T00:43:06Z

On Tue, 2021-01-19 at 10:32 +0200, Jarkko Sakkinen wrote:
> 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.

Sure. No problem. Thanks.