Skip to content

Commit

Permalink
mm: pagewalk: add api documentation for walk_page_range_novma()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rolf Eike Beer authored and Andrew Morton committed Sep 12, 2022
1 parent e2f8f44 commit 8bd3873
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion mm/pagewalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,15 @@ int walk_page_range(struct mm_struct *mm, unsigned long start,
return err;
}

/*
/**
* 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
Expand Down

0 comments on commit 8bd3873

Please sign in to comment.