Re: [PATCH 1/2] mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps

From: Michal Hocko
Date: Mon Feb 13 2023 - 13:01:47 EST


On Fri 03-02-23 12:16:04, Mike Kravetz wrote:
[...]
> Unless someone thinks we should move forward, I will not push the code
> for this approach now. It will also be interesting to see if this is
> impacted at all by the outcome of discussions to perhaps redesign
> mapcount.

Yes, I do agree. We might want to extend page_mapcount documentation a
bit though. The comment is explicit about the order-0 pages but a note
about hugetlb and pmd sharing wouldn't hurt. WDYT?
--
Michal Hocko
SUSE Labs