[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55f8c7a4-4535-42ff-abb7-a7cf7cd08684@arm.com>
Date: Wed, 23 Jul 2025 20:09:22 +0530
From: Dev Jain <dev.jain@....com>
To: catalin.marinas@....com, will@...nel.org
Cc: anshuman.khandual@....com, quic_zhenhuah@...cinc.com,
ryan.roberts@....com, kevin.brodsky@....com, yangyicong@...ilicon.com,
joey.gouly@....com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, david@...hat.com, mark.rutland@....com
Subject: Re: [PATCH v5] arm64: Enable vmalloc-huge with ptdump
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",
Powered by blists - more mailing lists