[PATCH v5] arm64: Enable vmalloc-huge with ptdump
Dev Jain
dev.jain at arm.com
Wed Jul 23 07:39:22 PDT 2025
On 23/07/25 3:59 pm, Dev Jain wrote:
> [--- snip ---]
> void ptdump_walk(struct seq_file *s, struct ptdump_info *info)
> {
> unsigned long end = ~0UL;
> @@ -311,7 +319,7 @@ void ptdump_walk(struct seq_file *s, struct ptdump_info *info)
> }
> };
>
> - ptdump_walk_pgd(&st.ptdump, info->mm, NULL);
> + arm64_ptdump_walk_pgd(&st.ptdump, info->mm, NULL);
> }
>
> static void __init ptdump_initialize(void)
> @@ -353,7 +361,7 @@ bool ptdump_check_wx(void)
> }
> };
>
> - ptdump_walk_pgd(&st.ptdump, &init_mm, NULL);
> + arm64_ptdump_walk_pgd(&st.ptdump, info->mm, NULL);
Brilliant, due to copy-paste I passed in info->mm here instead of init_mm.
Let me resend.
>
> if (st.wx_pages || st.uxn_pages) {
> pr_warn("Checked W+X mappings: FAILED, %lu W+X pages found, %lu non-UXN pages found\n",
More information about the linux-arm-kernel
mailing list