[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7XbymU+hy6ZJO+/@x1n>
Date: Wed, 4 Jan 2023 15:04:26 -0500
From: Peter Xu <peterx@...hat.com>
To: James Houghton <jthoughton@...gle.com>
Cc: Mike Kravetz <mike.kravetz@...cle.com>,
Muchun Song <songmuchun@...edance.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hugetlb: unshare some PMDs when splitting VMAs
On Wed, Jan 04, 2023 at 07:34:00PM +0000, James Houghton wrote:
> How about:
>
> /*
> * PMD sharing is only possible for PUD_SIZE-aligned address ranges
> * in HugeTLB VMAs. If we will lose PUD_SIZE alignment due to this split,
> * unshare PMDs in the PUD_SIZE interval surrounding addr now.
> */
Even better, thanks.
--
Peter Xu
Powered by blists - more mailing lists