lkml.org 
[lkml]   [2018]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch V3 10/11] x86/mm/cpa: Do the range check early
From
Date
On 09/17/2018 07:29 AM, Thomas Gleixner wrote:
> To avoid excessive 4k wise checks in the common case do a quick check first
> whether the requested new page protections conflict with a static
> protection area in the large page. If there is no conflict then the
> decision whether to preserve or to split the page can be made immediately.
>
> If the requested range covers the full large page, preserve it. Otherwise
> split it up. No point in doing a slow crawl in 4k steps.

That's the big one...

Reviewed-by: Dave Hansen <dave.hansen@intel.com>

\
 
 \ /
  Last update: 2018-09-21 22:28    [W:0.255 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site