提交 b46e14ac 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

mm/mempolicy.c: parameter doc uniformization

Also fixes kernel-doc warning
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ac769501
...@@ -1606,9 +1606,9 @@ COMPAT_SYSCALL_DEFINE6(mbind, compat_ulong_t, start, compat_ulong_t, len, ...@@ -1606,9 +1606,9 @@ COMPAT_SYSCALL_DEFINE6(mbind, compat_ulong_t, start, compat_ulong_t, len,
/* /*
* get_vma_policy(@task, @vma, @addr) * get_vma_policy(@task, @vma, @addr)
* @task - task for fallback if vma policy == default * @task: task for fallback if vma policy == default
* @vma - virtual memory area whose policy is sought * @vma: virtual memory area whose policy is sought
* @addr - address in @vma for shared policy lookup * @addr: address in @vma for shared policy lookup
* *
* Returns effective policy for a VMA at specified address. * Returns effective policy for a VMA at specified address.
* Falls back to @task or system default policy, as necessary. * Falls back to @task or system default policy, as necessary.
...@@ -1854,11 +1854,11 @@ int node_random(const nodemask_t *maskp) ...@@ -1854,11 +1854,11 @@ int node_random(const nodemask_t *maskp)
#ifdef CONFIG_HUGETLBFS #ifdef CONFIG_HUGETLBFS
/* /*
* huge_zonelist(@vma, @addr, @gfp_flags, @mpol) * huge_zonelist(@vma, @addr, @gfp_flags, @mpol)
* @vma = virtual memory area whose policy is sought * @vma: virtual memory area whose policy is sought
* @addr = address in @vma for shared policy lookup and interleave policy * @addr: address in @vma for shared policy lookup and interleave policy
* @gfp_flags = for requested zone * @gfp_flags: for requested zone
* @mpol = pointer to mempolicy pointer for reference counted mempolicy * @mpol: pointer to mempolicy pointer for reference counted mempolicy
* @nodemask = pointer to nodemask pointer for MPOL_BIND nodemask * @nodemask: pointer to nodemask pointer for MPOL_BIND nodemask
* *
* Returns a zonelist suitable for a huge page allocation and a pointer * Returns a zonelist suitable for a huge page allocation and a pointer
* to the struct mempolicy for conditional unref after allocation. * to the struct mempolicy for conditional unref after allocation.
...@@ -2270,9 +2270,9 @@ static void sp_free(struct sp_node *n) ...@@ -2270,9 +2270,9 @@ static void sp_free(struct sp_node *n)
/** /**
* mpol_misplaced - check whether current page node is valid in policy * mpol_misplaced - check whether current page node is valid in policy
* *
* @page - page to be checked * @page: page to be checked
* @vma - vm area where page mapped * @vma: vm area where page mapped
* @addr - virtual address where page mapped * @addr: virtual address where page mapped
* *
* Lookup current policy node id for vma,addr and "compare to" page's * Lookup current policy node id for vma,addr and "compare to" page's
* node id. * node id.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册