Re: [PATCH v13 09/13] x86/sgx: Enclave Page Cache (EPC) memory manager

From: Jarkko Sakkinen
Date: Tue Aug 28 2018 - 04:36:23 EST


On Mon, Aug 27, 2018 at 02:14:24PM -0700, Dave Hansen wrote:
> On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote:
> > +enum sgx_alloc_flags {
> > + SGX_ALLOC_ATOMIC = BIT(0),
> > +};
>
> Doing this with enums is unprecedented IMNHO. Why are you doing it this
> way for simple, one-off constants?

I'll change it to bool, thanks.

/Jarkko