[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240509100148.22384-1-osalvador@suse.de>
Date: Thu, 9 May 2024 12:01:46 +0200
From: Oscar Salvador <osalvador@...e.de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
Muchun Song <muchun.song@...ux.dev>,
Peter Xu <peterx@...hat.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Liu Shixin <liushixin2@...wei.com>,
Oscar Salvador <osalvador@...e.de>
Subject: [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(-)
--
2.44.0
Powered by blists - more mailing lists