Re: [PATCH 0/2] Fixes for hugetlb mapcount at most 1 for shared PMDs

From: Peter Xu
Date: Thu Jan 26 2023 - 17:49:04 EST


On Thu, Jan 26, 2023 at 02:27:19PM -0800, Mike Kravetz wrote:
> This issue of mapcount in hugetlb pages referenced by shared PMDs was
> discussed in [1]. The following two patches address user visible
> behavior caused by this issue.
>
> Patches apply to mm-stable as they can also target stable backports.
>
> Ongoing folio conversions cause context conflicts in the second patch
> when applied to mm-unstable/linux-next. I can create separate patch(es)
> if people agree with these.
>
> [1] https://lore.kernel.org/linux-mm/Y9BF+OCdWnCSilEu@monkey/
> Mike Kravetz (2):
> mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
> migrate: hugetlb: Check for hugetlb shared PMD in node migration

Acked-by: Peter Xu <peterx@xxxxxxxxxx>

--
Peter Xu