Re: [PATCH] hugetlb: unshare some PMDs when splitting VMAs
From: Peter Xu
Date: Wed Jan 04 2023 - 15:05:21 EST
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