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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--
Dmitrii Kuvaiskii




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux