lkml.org 
[lkml]   [2024]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Minor fixups for hugetlb fault path
Date
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(-)

--
2.44.0


\
 
 \ /
  Last update: 2024-05-09 12:02    [W:0.085 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site