From: Rolf Eike Beer <eb@emlix.com>
Date: Mon, 22 Aug 2022 13:02:36 +0000 (+0200)
Subject: mm: pagewalk: add api documentation for walk_page_range_novma()
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=25e2d97641619e85ae1b4fec65f2a1f748992249;p=users%2Fjedix%2Flinux-maple.git

mm: pagewalk: add api documentation for walk_page_range_novma()

Link: https://lkml.kernel.org/r/8991525.CDJkKcVGEf@devpool047
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

diff --git a/mm/pagewalk.c b/mm/pagewalk.c
index f4d760193c25..dc88bdbf787c 100644
--- a/mm/pagewalk.c
+++ b/mm/pagewalk.c
@@ -493,7 +493,15 @@ int walk_page_range(struct mm_struct *mm, unsigned long start,
 	return 0;
 }
 
-/*
+/**
+ * walk_page_range_novma - walk a range of pagetables not backed by a vma
+ * @mm:		mm_struct representing the target process of page table walk
+ * @start:	start address of the virtual address range
+ * @end:	end address of the virtual address range
+ * @ops:	operation to call during the walk
+ * @pgd:	pgd to walk if different from mm->pgd
+ * @private:	private data for callbacks' usage
+ *
  * Similar to walk_page_range() but can walk any page tables even if they are
  * not backed by VMAs. Because 'unusual' entries may be walked this function
  * will also not lock the PTEs for the pte_entry() callback. This is useful for