Re: [patch 06/10] mm: memcontrol: use root_mem_cgroup res_counter

2014-06-03 Thread Michal Hocko
On Thu 29-05-14 12:15:58, Johannes Weiner wrote: > Due to an old optimization to keep expensive res_counter changes at a > minimum, the root_mem_cgroup res_counter is never charged; there is no > limit at that level anyway, and any statistics can be generated on > demand by summing up the counters

Re: [patch 06/10] mm: memcontrol: use root_mem_cgroup res_counter

2014-06-03 Thread Michal Hocko
On Thu 29-05-14 12:15:58, Johannes Weiner wrote: Due to an old optimization to keep expensive res_counter changes at a minimum, the root_mem_cgroup res_counter is never charged; there is no limit at that level anyway, and any statistics can be generated on demand by summing up the counters of

[patch 06/10] mm: memcontrol: use root_mem_cgroup res_counter

2014-05-29 Thread Johannes Weiner
Due to an old optimization to keep expensive res_counter changes at a minimum, the root_mem_cgroup res_counter is never charged; there is no limit at that level anyway, and any statistics can be generated on demand by summing up the counters of all other cgroups. However, with per-cpu charge

[patch 06/10] mm: memcontrol: use root_mem_cgroup res_counter

2014-05-29 Thread Johannes Weiner
Due to an old optimization to keep expensive res_counter changes at a minimum, the root_mem_cgroup res_counter is never charged; there is no limit at that level anyway, and any statistics can be generated on demand by summing up the counters of all other cgroups. However, with per-cpu charge