[PATCH] arm64: mm: fix direct map use over accounting
Catalin Marinas
catalin.marinas at arm.com
Thu Nov 20 08:16:44 PST 2025
On Thu, Nov 20, 2025 at 03:11:21PM +0000, Ryan Roberts wrote:
> On 19/11/2025 23:57, Yang Shi wrote:
> > The create_pgd_mapping() families may be used in other paths other than
> > creating the linear map. And spliting kernel page table may be used for
> > non-linear map either. So we need check whether the address is linear
> > map address or not before accounting to direct map use. Encapsulate the
> > linear map address check in the new add/sub helpers. The new helpers are
> > nop if CONFIG_PROC_FS is not enabled.
[...]
> Overall, my opinion is that this patch is not quite cooked yet. Personally I'd
> prefer to see the first half reverted then we can wait another cycle until this
> is ready and apply it all in one go.
Thanks for the feedback Ryan. I'll revert and queue it again later once
you acked it.
--
Catalin
More information about the linux-arm-kernel
mailing list