Subject: [PATCH] mm: Add kernel-doc comment for free_pgd_range()
Subsystems (2)
PATCH 1/1 Subject: [PATCH] mm: Add kernel-doc comment for free_pgd_range()
Provide kernel-doc for free_pgd_range() so it's easier to understand what the function does and how it is used.
Signed-off-by SoumishDas <[email protected]>
--- mm/memory.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)
mm/memory.c +11 -2
@@ -294,8 +294,17 @@ static inline void free_p4d_range(struct mmu_gather *tlb, pgd_t *pgd,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,
Signature · 1 line
2.34.1