Re: [PATCH v12 08/11] mm: Clear arch specific VM flags on protection change
From: Andrew Morton
Date: Tue Mar 06 2018 - 17:48:41 EST
On Wed, 21 Feb 2018 10:15:50 -0700 Khalid Aziz <khalid.aziz@xxxxxxxxxx> wrote:
> When protection bits are changed on a VMA, some of the architecture
> specific flags should be cleared as well. An examples of this are the
> PKEY flags on x86. This patch expands the current code that clears
> PKEY flags for x86, to support similar functionality for other
> architectures as well.
>
> Signed-off-by: Khalid Aziz <khalid.aziz@xxxxxxxxxx>
> Cc: Khalid Aziz <khalid@xxxxxxxxxxxxxx>
> Reviewed-by: Anthony Yznaga <anthony.yznaga@xxxxxxxxxx>
Acked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>