[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55566173.5020402@sr71.net>
Date: Fri, 15 May 2015 14:13:23 -0700
From: Dave Hansen <dave@...1.net>
To: Thomas Gleixner <tglx@...utronix.de>
CC: linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: [PATCH 06/12] x86, pkeys: store protection in high VMA flags
On 05/15/2015 02:10 PM, Thomas Gleixner wrote:
> On Thu, 7 May 2015, Dave Hansen wrote:
>> +#ifdef CONFIG_ARCH_USES_HIGH_VMA_FLAGS
>> +#define VM_HIGH_ARCH_1 0x100000000 /* bit only usable on 64-bit architectures */
>
> Nit. Shouldn't this start with VM_HIGH_ARCH_0 ?
Yeah, it does make the later #defines look a bit funny. I modeled it
after the "low" VM_ARCH_ flags which start at 1:
#define VM_ARCH_1 0x01000000 /* Architecture-specific flag */
#define VM_ARCH_2 0x02000000
I can change it to be 0 based though.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists