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

From: Dave Hansen
Date: Mon Aug 27 2018 - 18:49:29 EST


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?