Home
last modified time | relevance | path

Searched hist:"2 c2d57b5e769956fb36581e0d3cccdb5ea68038f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/mm/
H A Dmprotect.cdiff 2c2d57b5e769956fb36581e0d3cccdb5ea68038f Wed Feb 21 11:15:50 CST 2018 Khalid Aziz <khalid.aziz@oracle.com> mm: Clear arch specific VM flags on protection change

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@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
Reviewed-by: Anthony Yznaga <anthony.yznaga@oracle.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/include/linux/
H A Dmm.hdiff 2c2d57b5e769956fb36581e0d3cccdb5ea68038f Wed Feb 21 11:15:50 CST 2018 Khalid Aziz <khalid.aziz@oracle.com> mm: Clear arch specific VM flags on protection change

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@oracle.com>
Cc: Khalid Aziz <khalid@gonehiking.org>
Reviewed-by: Anthony Yznaga <anthony.yznaga@oracle.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>