* + mm-hugetlb_vmemmap-update-outdated-comment.patch added to mm-unstable branch
@ 2026-02-24 17:57 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-02-24 17:57 UTC (permalink / raw)
To: mm-commits, osalvador, muchun.song, julia.lawall, david, kexinsun,
akpm
The patch titled
Subject: mm/hugetlb_vmemmap: update outdated comment
has been added to the -mm mm-unstable branch. Its filename is
mm-hugetlb_vmemmap-update-outdated-comment.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hugetlb_vmemmap-update-outdated-comment.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 various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: kexinsun <kexinsun@smail.nju.edu.cn>
Subject: mm/hugetlb_vmemmap: update outdated comment
Date: Tue, 24 Feb 2026 10:28:40 +0800
The function vmemmap_pte_range() was refactored into vmemmap_pte_entry()
by commit fb93ed63345f ("mm: hugetlb_vmemmap: use walk_page_range_novma()
to simplify the code"). Both functions share the key behavior that the
reuse page is identified first before remapping begins. Update the
comment accordingly.
Link: https://lkml.kernel.org/r/20260224022840.1936-1-kexinsun@smail.nju.edu.cn
Signed-off-by: kexinsun <kexinsun@smail.nju.edu.cn>
Reviewed-by: Muchun Song <muchun.song@linux.dev>
Cc: David Hildenbrand <david@kernel.org>
Cc: Julia Lawall <julia.lawall@inria.fr>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/hugetlb_vmemmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/hugetlb_vmemmap.c~mm-hugetlb_vmemmap-update-outdated-comment
+++ a/mm/hugetlb_vmemmap.c
@@ -350,7 +350,7 @@ static int vmemmap_remap_free(unsigned l
/*
* In order to make remapping routine most efficient for the huge pages,
* the routine of vmemmap page table walking has the following rules
- * (see more details from the vmemmap_pte_range()):
+ * (see more details from the vmemmap_pte_entry()):
*
* - The range [@start, @end) and the range [@reuse, @reuse + PAGE_SIZE)
* should be continuous.
_
Patches currently in -mm which might be from kexinsun@smail.nju.edu.cn are
mm-hugetlb_vmemmap-update-outdated-comment.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-24 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 17:57 + mm-hugetlb_vmemmap-update-outdated-comment.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.