[PATCH V2 2/2] arm64/mm: Standardize printing for pgtable entries
David Hildenbrand (Arm)
david at kernel.org
Wed Sep 9 08:14:25 PDT 2026
> diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c
> index 0b2d190d62c3..26f4cf7b753e 100644
> --- a/arch/arm64/mm/mmu.c
> +++ b/arch/arm64/mm/mmu.c
> @@ -2411,6 +2411,8 @@ int arch_set_user_pkey_access(int pkey, unsigned long init_val)
> #ifdef CONFIG_DEBUG_VM
> void __check_safe_pte_update(struct mm_struct *mm, pte_t *ptep, pte_t pte)
> {
> + char pte_str_old[PTVAL_STR_MAX];
> + char pte_str[PTVAL_STR_MAX];
Nothing jumped at me; once the stack usage does become a problem (I strongly
assume we don't care for now) we can revisit the approach of moving printing
into printk.
Reviewed-by: David Hildenbrand (Arm) <david at kernel.org>
--
Cheers,
David
More information about the linux-arm-kernel
mailing list