Skip to content

mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT

Andrea Arcangeli linux-mm lkml 1 version Applied

Status from this message: [merged] mm-hugetlbc-teach-follow_hugetlb_page-to-handle-foll_nowait.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied 1/1

Patches in v1 All 1 applied

#Subject and filesSizeRepliesApplied
1/1mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAITmm/hugetlb.c+2 -12 repliesApplied

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDr. David Alan GilbertMike KravetzPeter Xu
1/1T-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/1] mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT

Hello,

this fixes a regression that resurfaced in hugetlbfs code after we fixed it for the core VM a few months ago. This is only reproducible doing postcopy live migration of KVM (the only user of FOLL_NOWAIT) if backed by hugetlbfs memory. It's unrelated to userfaultfd, but userfaultfd reproduces it easily because it's an heavy user of VM_FAULT_RETRY retvals.

Thanks,
Andrea

Andrea Arcangeli (1):
mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT

 mm/hugetlb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)