[Devel] Re: [PATCH 2/3] Introduce the res_counter_populate() function

Paul Menage menage at google.com
Wed Oct 3 09:02:42 PDT 2007


On 10/3/07, Pavel Emelyanov <xemul at openvz.org> wrote:
> +
> +       strcpy(files[RES_USAGE].name, "usage_in_bytes");

This prevents the resource counters from being used for anything that
doesn't measure its limit/usage in bytes. E.g. number of tasks.

I like the idea of having a unified interface, but can't they just be
called "usage" and "limit"?

Paul
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list