Re: [PATCH v4 2/2] memcg: change mem_control_xxx to mem_cgroup_xxx

From: Andrew Morton
Date: Tue Jun 26 2012 - 15:54:35 EST


On Mon, 25 Jun 2012 19:15:59 +0800
Wanpeng Li <liwp.linux@xxxxxxxxx> wrote:

> From: Wanpeng Li <liwp@xxxxxxxxxxxxxxxxxx>
>
> Unify memcg functions to mem_cgroup_xxx.

How about we unify memcg functions to memcg_xxx?

> --- a/mm/memcontrol.c
> +++ b/mm/memcontrol.c
> @@ -3999,7 +3999,7 @@ static int mem_cgroup_move_charge_write(struct cgroup *cgrp,
> #endif
>
> #ifdef CONFIG_NUMA
> -static int mem_control_numa_stat_show(struct cgroup *cont, struct cftype *cft,
> +static int mem_cgroup_numa_stat_show(struct cgroup *cont, struct cftype *cft,
> struct seq_file *m)

memcg_numa_stat_show(), etc.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/