aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 19:08:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:54:05 -0400
commitb46e14acb816038bda92f6aa0dd2c4554fe64d24 (patch)
tree1885f762665ee5a6f31b87a6c11bfb285a84abf1 /mm/mempolicy.c
parentac7695012a6f3269acd80d6c2b2218a6769edbf3 (diff)
mm/mempolicy.c: parameter doc uniformization
Also fixes kernel-doc warning Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r--mm/mempolicy.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index b09586d8316b..7f7864b95e8e 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1606,9 +1606,9 @@ COMPAT_SYSCALL_DEFINE6(mbind, compat_ulong_t, start, compat_ulong_t, len,
1606 1606
1607/* 1607/*
1608 * get_vma_policy(@task, @vma, @addr) 1608 * get_vma_policy(@task, @vma, @addr)
1609 * @task - task for fallback if vma policy == default 1609 * @task: task for fallback if vma policy == default
1610 * @vma - virtual memory area whose policy is sought 1610 * @vma: virtual memory area whose policy is sought
1611 * @addr - address in @vma for shared policy lookup 1611 * @addr: address in @vma for shared policy lookup
1612 * 1612 *
1613 * Returns effective policy for a VMA at specified address. 1613 * Returns effective policy for a VMA at specified address.
1614 * Falls back to @task or system default policy, as necessary. 1614 * Falls back to @task or system default policy, as necessary.
@@ -1854,11 +1854,11 @@ int node_random(const nodemask_t *maskp)
1854#ifdef CONFIG_HUGETLBFS 1854#ifdef CONFIG_HUGETLBFS
1855/* 1855/*
1856 * huge_zonelist(@vma, @addr, @gfp_flags, @mpol) 1856 * huge_zonelist(@vma, @addr, @gfp_flags, @mpol)
1857 * @vma = virtual memory area whose policy is sought 1857 * @vma: virtual memory area whose policy is sought
1858 * @addr = address in @vma for shared policy lookup and interleave policy 1858 * @addr: address in @vma for shared policy lookup and interleave policy
1859 * @gfp_flags = for requested zone 1859 * @gfp_flags: for requested zone
1860 * @mpol = pointer to mempolicy pointer for reference counted mempolicy 1860 * @mpol: pointer to mempolicy pointer for reference counted mempolicy
1861 * @nodemask = pointer to nodemask pointer for MPOL_BIND nodemask 1861 * @nodemask: pointer to nodemask pointer for MPOL_BIND nodemask
1862 * 1862 *
1863 * Returns a zonelist suitable for a huge page allocation and a pointer 1863 * Returns a zonelist suitable for a huge page allocation and a pointer
1864 * to the struct mempolicy for conditional unref after allocation. 1864 * to the struct mempolicy for conditional unref after allocation.
@@ -2270,9 +2270,9 @@ static void sp_free(struct sp_node *n)
2270/** 2270/**
2271 * mpol_misplaced - check whether current page node is valid in policy 2271 * mpol_misplaced - check whether current page node is valid in policy
2272 * 2272 *
2273 * @page - page to be checked 2273 * @page: page to be checked
2274 * @vma - vm area where page mapped 2274 * @vma: vm area where page mapped
2275 * @addr - virtual address where page mapped 2275 * @addr: virtual address where page mapped
2276 * 2276 *
2277 * Lookup current policy node id for vma,addr and "compare to" page's 2277 * Lookup current policy node id for vma,addr and "compare to" page's
2278 * node id. 2278 * node id.