On Tue, 11 Mar 2008 01:57:43 -0700
"Paul Menage" <menage@google.com> wrote:
> Alternatively, you could make it possible for a res_counter to have
> multiple parents (each of which constrains the overall usage of it and
> its siblings), and have three counters for each cgroup:
>
> - vm_counter: overall virtual memory limit for group, parent =
> parent_mem_cgroup->vm_counter
>
> - mem_counter: main memory limit for group, parents = vm_counter,
> parent_mem_cgroup->mem_counter
>
> - swap_counter: swap limit for group, parents = vm_counter,
> parent_mem_cgroup->swap_counter
>
or remove all relationship among counters of *different* type of resources.
user-land-daemon will do enough jobs.
Thanks,
-Kame
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers