[PATCH 03/25] powerpc: track allocation status of all pkeys
Balbir Singh
bsingharora at gmail.com
Wed Oct 18 13:47:01 AEDT 2017
On Fri, 8 Sep 2017 15:44:51 -0700
Ram Pai <linuxram at us.ibm.com> wrote:
> Total 32 keys are available on power7 and above. However
> pkey 0,1 are reserved. So effectively we have 30 pkeys.
>
> On 4K kernels, we do not have 5 bits in the PTE to
> represent all the keys; we only have 3bits.Two of those
> keys are reserved; pkey 0 and pkey 1. So effectively we
> have 6 pkeys.
>
> This patch keeps track of reserved keys, allocated keys
> and keys that are currently free.
>
> Also it adds skeletal functions and macros, that the
> architecture-independent code expects to be available.
>
> Signed-off-by: Ram Pai <linuxram at us.ibm.com>
I ended up reviewing v7 of the patch. Is this v8?
I think the comments still apply to this revision
Balbir Singh.
More information about the Linuxppc-dev
mailing list