Thread (18 messages) flat view 18 messages, 3 authors, 2018-05-10

Re: [PATCH 8/8] mm/pkeys, x86, powerpc: Display pkey in smaps if arch supports pkeys

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-05-09 01:57:10
Also in: linux-mm, lkml

Dave Hansen [off-list ref] writes:
On 05/08/2018 07:59 AM, Michael Ellerman wrote:
quoted
Currently the architecture specific code is expected to display the
protection keys in smap for a given vma. This can lead to redundant
code and possibly to divergent formats in which the key gets
displayed.

This patch changes the implementation. It displays the pkey only if
the architecture support pkeys, i.e arch_pkeys_enabled() returns true.

For this, along with 6/8 and 7/8:

Reviewed-by: Dave Hansen <redacted>
Thanks for reviewing them all.

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