* [PATCH V2] mm/memcontrol.c: fix parameter description mismatch
@ 2018-03-12 8:30 Honglei Wang
2018-03-13 20:10 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Honglei Wang @ 2018-03-12 8:30 UTC (permalink / raw)
To: linux-mm, cgroups; +Cc: hannes, mhocko, vdavydov.dev
There are a couple of places where parameter description and function name
do not match the actual code. Fix it.
Signed-off-by: Honglei Wang <honglei.wang@oracle.com>
---
mm/memcontrol.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 670e99b..9ec024b 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -714,9 +714,9 @@ static struct mem_cgroup *get_mem_cgroup_from_mm(struct mm_struct *mm)
* 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,
@@ -2299,7 +2299,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
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2] mm/memcontrol.c: fix parameter description mismatch
2018-03-12 8:30 [PATCH V2] mm/memcontrol.c: fix parameter description mismatch Honglei Wang
@ 2018-03-13 20:10 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2018-03-13 20:10 UTC (permalink / raw)
To: Honglei Wang; +Cc: linux-mm, cgroups, hannes, mhocko, vdavydov.dev
On Mon, Mar 12, 2018 at 04:30:48PM +0800, Honglei Wang wrote:
> There are a couple of places where parameter description and function name
> do not match the actual code. Fix it.
>
> Signed-off-by: Honglei Wang <honglei.wang@oracle.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-13 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 8:30 [PATCH V2] mm/memcontrol.c: fix parameter description mismatch Honglei Wang
2018-03-13 20:10 ` Tejun Heo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.