Re: [PATCH 1/9] Remove parent field in cpuacct cgroup

From: Balbir Singh
Date: Fri Sep 23 2011 - 04:09:40 EST


>> Android makes heavy use of cpuacct as well. We invented it to do cpu
>> accounting independent of control
>
> But its a massive waste of time to have to iterate a double hierarchy,
> cache-miss heaven.
>

By double hierarchy you mean both cpu and cpuacct? What if they are
not mounted together?

> Or so people really have independent cgroups as well? I thought people
> just co-mount all this crap.
>

Please see
http://code.google.com/p/cgroupmgr/wiki/cgroupsForAndroid
http://stackoverflow.com/questions/6814207/android-cpuacct-usage-file

AFAIK, some versions mount cpuacct at /acct and independent of cpu cgroups

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