* + mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation-v2.patch added to mm-hotfixes-unstable branch
@ 2026-03-08 21:10 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-03-08 21:10 UTC (permalink / raw)
To: mm-commits, xemul, rppt, peterx, osalvador, muchun.song, ljs,
JonasZhou, hillf.zj, dgilbert, david, aarcange, jianhuizzzzz,
akpm
The patch titled
Subject: mm/userfaultfd: fix hugetlb fault mutex hash calculation
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation-v2.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation-v2.patch
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Jianhui Zhou <jianhuizzzzz@gmail.com>
Subject: mm/userfaultfd: fix hugetlb fault mutex hash calculation
Date: Sat, 7 Mar 2026 22:35:39 +0800
remove unnecessary vma_hugecache_offset() stub
Link: https://lkml.kernel.org/r/20260307143542.179953-1-jianhuizzzzz@gmail.com
Fixes: 60d4d2d2b40e ("userfaultfd: hugetlbfs: add __mcopy_atomic_hugetlb for huge page UFFDIO_COPY")
Reported-by: syzbot+f525fd79634858f478e7@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=f525fd79634858f478e7
Signed-off-by: Jianhui Zhou <jianhuizzzzz@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Hildenbrand <david@kernel.org>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: JonasZhou <JonasZhou@zhaoxin.com>
Cc: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/hugetlb.h | 6 ------
1 file changed, 6 deletions(-)
--- a/include/linux/hugetlb.h~mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation-v2
+++ a/include/linux/hugetlb.h
@@ -1208,12 +1208,6 @@ static inline unsigned int huge_page_shi
return PAGE_SHIFT;
}
-static inline pgoff_t vma_hugecache_offset(struct hstate *h,
- struct vm_area_struct *vma, unsigned long address)
-{
- return linear_page_index(vma, address);
-}
-
static inline bool hstate_is_gigantic(struct hstate *h)
{
return false;
_
Patches currently in -mm which might be from jianhuizzzzz@gmail.com are
mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation.patch
mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation-v2.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-08 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08 21:10 + mm-userfaultfd-fix-hugetlb-fault-mutex-hash-calculation-v2.patch added to mm-hotfixes-unstable branch Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.