lkml.org 
[lkml]   [2022]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/3] hugetlb: speed up linear address scanning
Date
At unmap, fork and remap time hugetlb address ranges are linearly
scanned. We can optimize these scans if the ranges are sparsely
populated. Also, enable page table "Lazy copy" for hugetlb at fork.

Mike Kravetz (3):
hugetlb: skip to end of PT page mapping when pte not present
hugetlb: do not update address in huge_pmd_unshare
hugetlb: Lazy page table copies in fork()

include/linux/hugetlb.h | 5 +-
mm/hugetlb.c | 104 ++++++++++++++++++++++++++++------------
mm/memory.c | 2 +-
mm/rmap.c | 4 +-
4 files changed, 79 insertions(+), 36 deletions(-)

--
2.35.3

\
 
 \ /
  Last update: 2022-05-28 01:00    [W:0.172 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site