summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHonglei Wang <honglei.wang@oracle.com>2018-03-23 09:22:30 +0100
committerMichal Hocko <mhocko@suse.com>2018-03-23 09:22:30 +0100
commit0cadb0a5da90603a24d6a36f62a35e374b48b409 (patch)
tree1001603bfebea34bec7d437718ee9414ac93fd96
parent4b9ca18383f6ab8e45b6a776a77bdf45254e043d (diff)
mm/memcontrol.c: fix parameter description mismatch
There are a couple of places where parameter description and function name do not match the actual code. Fix it. Link: http://lkml.kernel.org/r/1520843448-17347-1-git-send-email-honglei.wang@oracle.com Signed-off-by: Honglei Wang <honglei.wang@oracle.com> Acked-by: Tejun Heo <tj@kernel.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/memcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index d1a917b5b7b7..4c49c6a1d06f 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -723,9 +723,9 @@ static struct mem_cgroup *get_mem_cgroup(struct mem_cgroup *memcg)
* invocations for reference counting, or use mem_cgroup_iter_break()
* to cancel a hierarchy walk before the round-trip is complete.
*
- * Reclaimers can specify a zone and a priority level in @reclaim to
+ * Reclaimers can specify a node and a priority level in @reclaim to
* divide up the memcgs in the hierarchy among all concurrent
- * reclaimers operating on the same zone and priority.
+ * reclaimers operating on the same node and priority.
*/
struct mem_cgroup *mem_cgroup_iter(struct mem_cgroup *root,
struct mem_cgroup *prev,
@@ -2310,7 +2310,7 @@ void memcg_kmem_put_cache(struct kmem_cache *cachep)
}
/**
- * memcg_kmem_charge: charge a kmem page
+ * memcg_kmem_charge_memcg: charge a kmem page
* @page: page to charge
* @gfp: reclaim mode
* @order: allocation order