Re: [PATCH v4 1/3] x86/sgx: Split SGX_ENCL_PAGE_BEING_RECLAIMED into two flags

Jarkko Sakkinen
2024-08-15T18:30:47Z

On Mon Aug 12, 2024 at 11:16 AM EEST, Dmitrii Kuvaiskii wrote:
> On Wed, Jul 17, 2024 at 01:37:39PM +0300, Jarkko Sakkinen wrote:
> > On Fri Jul 5, 2024 at 10:45 AM EEST, Dmitrii Kuvaiskii wrote:
> > > +/*
> > > + * 'desc' bit indicating that PCMD page associated with the enclave page is
> > > + * busy (e.g. because the enclave page is being reclaimed).
> > > + */
> > > +#define SGX_ENCL_PAGE_PCMD_BUSY BIT(3)
> >
> > What are other situations when this flag is set than being
> > reclaimed? The comment says that it is only one use for this
> > flag.
>
> Yes, your understanding is correct, currently there is only one situation.
>
> Do you want me to modify the comment somehow?

Yes, just s/e.g.//

>
> --
> Dmitrii Kuvaiskii

BR, Jarkko