linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@linux.intel.com>
To: "David Hildenbrand (Arm)" <david@kernel.org>
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 09:58:36 -0800	[thread overview]
Message-ID: <aY4UzC-X4a39wbG3@tassilo> (raw)
In-Reply-To: <94a21bda-5677-4949-a1df-3f0d90348021@kernel.org>

> 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.

> 
> 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 can send that patch too, but it would seem inferior.

-Andi



  reply	other threads:[~2026-02-12 17:58 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 [this message]
2026-02-12 18:05     ` David Hildenbrand (Arm)
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=aY4UzC-X4a39wbG3@tassilo \
    --to=ak@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.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