From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Andi Kleen <ak@linux.intel.com>
Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org,
akpm@linux-foundation.org, willy@infradead.org
Subject: Re: [PATCH] smaps: Report correct page sizes with THP
Date: Thu, 12 Feb 2026 19:05:09 +0100 [thread overview]
Message-ID: <5c5dfe82-0b51-41dd-bfce-2ad80fbf2ff6@kernel.org> (raw)
In-Reply-To: <aY4UzC-X4a39wbG3@tassilo>
On 2/12/26 18:58, Andi Kleen wrote:
>> We have AnonHugePages:, ShmemPmdMapped: and FilePmdMapped: that tell you
>> exactly what you want to know.
>
> .... if you know about it. I personally wasted a lot of time on it
> because we trusted a lie.
It is confusing, I agree. I don't know why we added it in the first place.
>
>>
>> Especially the mixed thing is just nasty.
>>
>> Once we go into cont-pte territory (or automatic pte coalescing by hardware)
>> it all gets confusing.
>
> In this case it can be extended to more.
>
>>
>> Sorry, NAK.
>
> Okay then just remove the page size if it's fictional outside hugetlb anyways?
I'm sure that would break some tooling.
--
Cheers,
David
next prev parent reply other threads:[~2026-02-12 18:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 20:17 Andi Kleen
2026-02-12 12:42 ` David Hildenbrand (Arm)
2026-02-12 17:58 ` Andi Kleen
2026-02-12 18:05 ` David Hildenbrand (Arm) [this message]
2026-02-21 0:03 ` jane.chu
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=5c5dfe82-0b51-41dd-bfce-2ad80fbf2ff6@kernel.org \
--to=david@kernel.org \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/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