From: Catalin Marinas <catalin.marinas@arm.com>
To: Ryan Roberts <ryan.roberts@arm.com>
Cc: Yang Shi <yang@os.amperecomputing.com>,
will@kernel.org, cl@gentwo.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: mm: fix direct map use over accounting
Date: Thu, 20 Nov 2025 16:16:44 +0000 [thread overview]
Message-ID: <aR8-7N4_ICuJW3pM@arm.com> (raw)
In-Reply-To: <dc8a1580-a3ca-45dc-a82f-ab697011345c@arm.com>
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
next prev parent reply other threads:[~2025-11-20 16:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-19 23:57 [PATCH] arm64: mm: fix direct map use over accounting Yang Shi
2025-11-20 15:11 ` Ryan Roberts
2025-11-20 16:16 ` Catalin Marinas [this message]
2025-11-20 17:10 ` Yang Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aR8-7N4_ICuJW3pM@arm.com \
--to=catalin.marinas@arm.com \
--cc=cl@gentwo.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ryan.roberts@arm.com \
--cc=will@kernel.org \
--cc=yang@os.amperecomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox