Re: [PATCH] rename MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANON
From: Johannes Weiner <hidden>
Date: 2012-06-01 16:54:44
Also in:
linux-mm
From: Johannes Weiner <hidden>
Date: 2012-06-01 16:54:44
Also in:
linux-mm
On Fri, Jun 01, 2012 at 07:44:50PM +0900, Kamezawa Hiroyuki wrote:
Now, in memcg, 2 "MAPPED" enum/macro are found MEM_CGROUP_CHARGE_TYPE_MAPPED MEM_CGROUP_STAT_FILE_MAPPED Their names looks similar to each other but the former is used for accounting anonymous memory, the latter is mapped-file. (I've received questions caused by this naming issue 3 times..) This patch renames MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANON. Signed-off-by: KAMEZAWA Hiroyuki <redacted>
Acked-by: Johannes Weiner <redacted>