[PATCH] Documentation: document /proc api for arm64 MTE vm flags

Catalin Marinas catalin.marinas at arm.com
Fri Nov 20 09:44:09 EST 2020


Hi Jon,

On Fri, Nov 06, 2020 at 10:19:40AM +0000, Szabolcs Nagy wrote:
> Document that /proc/PID/smaps shows PROT_MTE settings in VmFlags.
> Support for this was introduced in
> 
>   commit 9f3419315f3cdc41a7318e4d50ba18a592b30c8c
>   arm64: mte: Add PROT_MTE support to mmap() and mprotect()
> 
> Signed-off-by: Szabolcs Nagy <szabolcs.nagy at arm.com>
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
> Cc: linux-doc at vger.kernel.org
> ---
>  Documentation/filesystems/proc.rst | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> index 533c79e8d2cd..e5fa972d4c76 100644
> --- a/Documentation/filesystems/proc.rst
> +++ b/Documentation/filesystems/proc.rst
> @@ -546,6 +546,7 @@ encoded manner. The codes are the following:
>      nh    no huge page advise flag
>      mg    mergable advise flag
>      bt    arm64 BTI guarded page
> +    mt    arm64 MTE allocation tags are enabled
>      ==    =======================================
>  
>  Note that there is no guarantee that every flag and associated mnemonic will

Are you ok with picking up this patch (it can be left for 5.11) or
should I queue it in the arm64 tree?

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list