Re: [PATCHv11 09/16] mm: Expose untagging mask in /proc/$PID/status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux