Hello,
I'm working on making /proc/loadavg cgroup aware.
I have already done so with cpuinfo, sched, interrupts and partially meminfo:
https://github.com/1HLtd/linux/tree/cgroup-aware-proc
However patching the loadavg is not a trivial task and I need some assistance.
After much reading I'm wondering, if it would be easier to patch the cpu or cpuacct cgroups to include an array in which
we can hold a per cgroup avenrun array and use that information in the /proc/loadavg when it is displayed to a process
that is not in the base cgroup.
Best regards,
Marian
--
Marian Marinov
Founder & CEO of 1H Ltd.
Jabber/GTalk: hackman@xxxxxxxxxx
ICQ: 7556201
Mobile: +359 886 660 270
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html