Re: [patch] export percpu cpuacct cgroup stats

From: Paul Menage
Date: Thu Dec 04 2008 - 18:02:47 EST


On Wed, Dec 3, 2008 at 9:34 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
>> +
>> static struct cftype files[] = {
>> {
>> .name = "usage",
>> .read_u64 = cpuusage_read,
>> .write_u64 = cpuusage_write,
>> },
>> + {
>> + .name = "percpu",
>
> IMO percpu_usage is a better name.
>

Maybe usage_percpu ?

That fits in with the style used in e.g. memory.limit_in_bytes where
the first word is the important quantity, and the subsequent words
indicate some aspect of the quantity.

Paul
--
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/