Thread (134 messages) flat view 134 messages, 5 authors, 2017-10-30

Re: [PATCH 03/25] powerpc: track allocation status of all pkeys

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-10-18 02:47:11

On Fri,  8 Sep 2017 15:44:51 -0700
Ram Pai [off-list ref] 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 <redacted>
I ended up reviewing v7 of the patch. Is this v8?
I think the comments still apply to this revision

Balbir Singh.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help