Re: [PATCH 2/8] mm, powerpc, x86: introduce an additional vma bit for powerpc pkey

2018-05-08 Thread Ram Pai
On Wed, May 09, 2018 at 12:59:42AM +1000, Michael Ellerman wrote: > From: Ram Pai > > Currently only 4bits are allocated in the vma flags to hold 16 > keys. This is sufficient for x86. PowerPC supports 32 keys, > which needs 5bits. This patch allocates an additional bit. > > Reviewed-by: Ing

[PATCH 2/8] mm, powerpc, x86: introduce an additional vma bit for powerpc pkey

2018-05-08 Thread Michael Ellerman
From: Ram Pai Currently only 4bits are allocated in the vma flags to hold 16 keys. This is sufficient for x86. PowerPC supports 32 keys, which needs 5bits. This patch allocates an additional bit. Reviewed-by: Ingo Molnar Acked-by: Balbir Singh Signed-off-by: Ram Pai [mpe: Fold in #if VM_P