[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cd58dbfe-55f9-bb9a-d907-0f92740a8c2e@intel.com>
Date: Tue, 8 May 2018 09:47:15 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Michael Ellerman <mpe@...erman.id.au>, linuxram@...ibm.com
Cc: mingo@...hat.com, linuxppc-dev@...abs.org, linux-mm@...ck.org,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 8/8] mm/pkeys, x86, powerpc: Display pkey in smaps if arch
supports pkeys
On 05/08/2018 07:59 AM, Michael Ellerman wrote:
> 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 <dave.hansen@...el.com>
Powered by blists - more mailing lists