Messages in this thread | | | Date | Tue, 20 May 2008 17:33:20 +0800 | From | Li Zefan <> | Subject | Re: [RFC][PATCH 3/3] memcg: per node information |
| |
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. > >
| |