lkml.org 
[lkml]   [2018]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v13 09/13] x86/sgx: Enclave Page Cache (EPC) memory manager
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

\
 
 \ /
  Last update: 2018-08-28 10:36    [W:0.140 / U:2.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site