[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230126222721.222195-1-mike.kravetz@oracle.com>
Date: Thu, 26 Jan 2023 14:27:19 -0800
From: Mike Kravetz <mike.kravetz@...cle.com>
To: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Cc: Naoya Horiguchi <naoya.horiguchi@...ux.dev>,
James Houghton <jthoughton@...gle.com>,
Peter Xu <peterx@...hat.com>,
David Hildenbrand <david@...hat.com>,
Michal Hocko <mhocko@...e.com>, Yang Shi <shy828301@...il.com>,
Vishal Moola <vishal.moola@...il.com>,
Matthew Wilcox <willy@...radead.org>,
Muchun Song <songmuchun@...edance.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Kravetz <mike.kravetz@...cle.com>
Subject: [PATCH 0/2] Fixes for hugetlb mapcount at most 1 for shared PMDs
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
fs/proc/task_mmu.c | 10 ++++++++--
include/linux/hugetlb.h | 12 ++++++++++++
mm/mempolicy.c | 3 ++-
3 files changed, 22 insertions(+), 3 deletions(-)
--
2.39.1
Powered by blists - more mailing lists