Skip to content

Minor fixups for hugetlb fault path

Oscar Salvador linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] mm-hugetlb-add-missing-vm_fault_set_hindex-in-hugetlb_wp.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/hugetlb: Add missing VM_FAULT_SET_HINDEX in hugetlb_faultmm/hugetlb.c+2 -10 repliesApplied
2/2mm/hugetlb: Add missing VM_FAULT_SET_HINDEX in hugetlb_wpmm/hugetlb.c+1 -10 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter XuAxel Rasmussen
SeriesA-b A-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Minor fixups for hugetlb fault path

Hi,

this series contains a couple of fixups for hugetlb_fault and hugetlb_wp respectively, where a VM_FAULT_SET_HINDEX call was missing.

I did not bother with a Fixes tag because the missing piece here is that we will not report to userspace the right extension of the faulty area by adjusting struct kernel_siginfo.si_addr_lsb, but I do not consider that to be a big issue because I assume that userspace already knows the size of the mapping anyway.

Oscar Salvador (2):
mm/hugetlb: Add missing VM_FAULT_SET_HINDEX in hugetlb_fault mm/hugetlb: Add missing VM_FAULT_SET_HINDEX in hugetlb_wp

 mm/hugetlb.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.44.0