Re: [RFC v5 11/38] mm: introduce an additional vma bit for powerpc pkey

2017-07-12 Thread Benjamin Herrenschmidt
On Wed, 2017-07-12 at 15:23 -0700, Ram Pai wrote: > Just copying over makes checkpatch.pl unhappy. It exceeds 80 columns. Which is fine to ignore in a case like that where you remain consistent with the existing code. Ben.

Re: [RFC v5 11/38] mm: introduce an additional vma bit for powerpc pkey

2017-07-12 Thread Ram Pai
On Tue, Jul 11, 2017 at 11:10:46AM -0700, Dave Hansen wrote: > On 07/05/2017 02:21 PM, Ram Pai wrote: > > Currently there are only 4bits in the vma flags to support 16 keys > > on x86. powerpc supports 32 keys, which needs 5bits. This patch > > introduces an addition bit in the vma flags. > > >

Re: [RFC v5 11/38] mm: introduce an additional vma bit for powerpc pkey

2017-07-11 Thread Dave Hansen
On 07/05/2017 02:21 PM, Ram Pai wrote: > Currently there are only 4bits in the vma flags to support 16 keys > on x86. powerpc supports 32 keys, which needs 5bits. This patch > introduces an addition bit in the vma flags. > > Signed-off-by: Ram Pai > --- >

[RFC v5 11/38] mm: introduce an additional vma bit for powerpc pkey

2017-07-05 Thread Ram Pai
Currently there are only 4bits in the vma flags to support 16 keys on x86. powerpc supports 32 keys, which needs 5bits. This patch introduces an addition bit in the vma flags. Signed-off-by: Ram Pai --- fs/proc/task_mmu.c |6 +- include/linux/mm.h | 18