Re: [PATCH] hugetlb: unshare some PMDs when splitting VMAs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux