From: Marian Marinov <mm-108MBtLGafw@public.gmane.org>
To: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: cgroups aware /proc/loadavg
Date: Sat, 11 Jan 2014 20:16:49 +0200 [thread overview]
Message-ID: <52D18A91.9060000@1h.com> (raw)
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-/eSpBmjxGS4dnm+yROfE0A@public.gmane.org
ICQ: 7556201
Mobile: +359 886 660 270
reply other threads:[~2014-01-11 18:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D18A91.9060000@1h.com \
--to=mm-108mbtlgafw@public.gmane.org \
--cc=cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).