lkml.org 
[lkml]   [2023]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2023-03-26 23:27    [W:0.997 / U:2.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site