Commit 809ef83c authored by Yang Li's avatar Yang Li Committed by Andrew Morton

mm: fix some kernel-doc comments

Add description of @mm_wr_locked and @mm.
to silence the warnings:

mm/memory.c:1716: warning: Function parameter or member 'mm_wr_locked' not described in 'unmap_vmas'
mm/memory.c:5110: warning: Function parameter or member 'mm' not described in 'mm_account_fault'

Link: https://lkml.kernel.org/r/20230707090034.125511-1-yang.lee@linux.alibaba.comSigned-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 9651eeab
...@@ -1697,6 +1697,7 @@ static void unmap_single_vma(struct mmu_gather *tlb, ...@@ -1697,6 +1697,7 @@ static void unmap_single_vma(struct mmu_gather *tlb,
* @vma: the starting vma * @vma: the starting vma
* @start_addr: virtual address at which to start unmapping * @start_addr: virtual address at which to start unmapping
* @end_addr: virtual address at which to end unmapping * @end_addr: virtual address at which to end unmapping
* @mm_wr_locked: lock flag
* *
* Unmap all pages in the vma list. * Unmap all pages in the vma list.
* *
...@@ -5084,7 +5085,7 @@ static vm_fault_t __handle_mm_fault(struct vm_area_struct *vma, ...@@ -5084,7 +5085,7 @@ static vm_fault_t __handle_mm_fault(struct vm_area_struct *vma,
/** /**
* mm_account_fault - Do page fault accounting * mm_account_fault - Do page fault accounting
* * @mm: mm from which memcg should be extracted. It can be NULL.
* @regs: the pt_regs struct pointer. When set to NULL, will skip accounting * @regs: the pt_regs struct pointer. When set to NULL, will skip accounting
* of perf event counters, but we'll still do the per-task accounting to * of perf event counters, but we'll still do the per-task accounting to
* the task who triggered this page fault. * the task who triggered this page fault.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment