Skip to contentSkip to conversation

mm-add-kernel-doc-comment-for-free_pgd_range.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 12, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: add kernel-doc comment for free_pgd_range()
has been removed from the -mm tree. Its filename was
mm-add-kernel-doc-comment-for-free_pgd_range.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: SoumishDas <[email protected]>
Subject: mm: add kernel-doc comment for free_pgd_range()
Date: Tue, 25 Mar 2025 23:43:25 +0530

Provide kernel-doc for free_pgd_range() so it's easier to understand what the function does and how it is used.

---

 mm/memory.c |   13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
mm/memory.c renamed from mm/memory.c~mm-add-kernel-doc-comment-for-free_pgd_range +11 -2
@@ -278,8 +278,17 @@ static inline void free_p4d_range(struct
 	p4d_free_tlb(tlb, p4d, start);
 }
 
-/*
- * This function frees user-level page tables of a process.
+/**
+ * free_pgd_range - Unmap and free page tables in the range
+ * @tlb: the mmu_gather containing pending TLB flush info
+ * @addr: virtual address start
+ * @end: virtual address end
+ * @floor: lowest address boundary
+ * @ceiling: highest address boundary
+ *
+ * This function tears down all user-level page tables in the
+ * specified virtual address range [@addr..@end). It is part of
+ * the memory unmap flow.
  */
 void free_pgd_range(struct mmu_gather *tlb,
 			unsigned long addr, unsigned long end,

_

Patches currently in -mm which might be from [email protected] are