* + mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix.patch added to mm-unstable branch
@ 2022-12-05 22:31 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-12-05 22:31 UTC (permalink / raw)
To: mm-commits, peterx, mike.kravetz, akpm, akpm
The patch titled
Subject: mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix
has been added to the -mm mm-unstable branch. Its filename is
mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix.patch
This patch will later appear in the mm-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 the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix
Date: Mon Dec 5 02:30:31 PM PST 2022
update comment, per Mike
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/hugetlb.c | 4 ----
1 file changed, 4 deletions(-)
--- a/mm/hugetlb.c~mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix
+++ a/mm/hugetlb.c
@@ -5840,10 +5840,6 @@ vm_fault_t hugetlb_fault(struct mm_struc
* Acquire vma lock before calling huge_pte_alloc and hold
* until finished with ptep. This prevents huge_pmd_unshare from
* being called elsewhere and making the ptep no longer valid.
- *
- * ptep could have already be assigned via huge_pte_offset. That
- * is OK, as huge_pte_alloc will return the same value unless
- * something has changed.
*/
hugetlb_vma_lock_read(vma);
ptep = huge_pte_alloc(mm, vma, haddr, huge_page_size(h));
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
revert-mm-align-larger-anonymous-mappings-on-thp-boundaries.patch
kselftests-cgroup-update-kmem-test-precision-tolerance-fix.patch
mm-gup-remove-foll_migration-fix.patch
mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix.patch
fsdax-zero-the-edges-if-source-is-hole-or-unwritten-fix.patch
mm-disable-top-tier-fallback-to-reclaim-on-proactive-reclaim-fix.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-05 22:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-05 22:31 + mm-hugetlb-move-swap-entry-handling-into-vma-lock-when-faulted-fix.patch added to mm-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.