Re: [RFC][PATCH 3/3] memcg: per node information

From: Li Zefan
Date: Tue May 20 2008 - 05:35:12 EST


KAMEZAWA Hiroyuki wrote:
> static int alloc_mem_cgroup_per_zone_info(struct mem_cgroup *mem, int node)
> Index: mm-2.6.26-rc2-mm1/Documentation/controllers/memory_files.txt
> ===================================================================
> --- mm-2.6.26-rc2-mm1.orig/Documentation/controllers/memory_files.txt
> +++ mm-2.6.26-rc2-mm1/Documentation/controllers/memory_files.txt
> @@ -74,3 +74,13 @@ Files under memory resource controller a
> (write)
> Reset to 0.
>
> +* memory.numa_stat
> +
> + This file appears only when the kernel is configured as NUMA.
> +
> + (read)
> + Show per-node accounting information of acitve/inactive pages.
> + formated as following.

formatted

> + nodeid total active inactive

2 spaces? ^^

> +
> + total = active + inactive.
>
>
--
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/