Re: [PATCH] docs: proc: document ProtectionKey in smaps
From: Dave Hansen
Date: Tue Apr 07 2026 - 10:43:36 EST
On 4/7/26 05:51, Kevin Brodsky wrote:
> +If both the kernel and the system support protection keys (pkeys),
> +"ProtectionKey" indicates the memory protection key associated with the
> +virtual memory area.
I think you're trying to get across the point here that the kernel needs
to know about protection keys, have it enabled, and be running on a CPU
with pkey support.
To me "system" is a bit ambiguous here but _can_ refer to the whole
hardware/software system as a whole. To avoid redundancy, I'd say either:
If both the kernel and the processor support protection keys...
or
If the system supports protection keys...
But I'm ok with what you have in any case. Folks will understand what
you're saying:
Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>