lkml.org 
[lkml]   [2022]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv11 09/16] mm: Expose untagging mask in /proc/$PID/status
On Tue, Oct 25, 2022 at 03:17:15AM +0300, Kirill A. Shutemov wrote:
> diff --git a/arch/arm64/include/asm/mmu_context.h b/arch/arm64/include/asm/mmu_context.h
> index d3f8b5df0c1f..81ac12d69795 100644
> --- a/arch/arm64/include/asm/mmu_context.h
> +++ b/arch/arm64/include/asm/mmu_context.h
> @@ -278,6 +278,12 @@ void post_ttbr_update_workaround(void);
> unsigned long arm64_mm_context_get(struct mm_struct *mm);
> void arm64_mm_context_put(struct mm_struct *mm);
>
> +#define mm_untag_mask mm_untag_mask
> +static inline unsigned long mm_untag_mask(struct mm_struct *mm)
> +{
> + return -1UL >> 8;
> +}
> +
> #include <asm-generic/mmu_context.h>

For arm64:

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

\
 
 \ /
  Last update: 2022-10-28 16:02    [W:0.462 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site