mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] cpuacct cleanup
@ 2011-11-25  1:33 Glauber Costa
  2011-11-25  1:33 ` [PATCH 1/4] Change cpustat fields to an array Glauber Costa
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Glauber Costa @ 2011-11-25  1:33 UTC (permalink / raw)
  To: linux-kernel
  Cc: lizf, daniel.lezcano, a.p.zijlstra, jbottomley, pjt, cgroups, devel

Hi,

Leaving aside all the hierarchy walk discussion, I tried to come up
with a series that concentrates only the basic points of it all.
I think we benefit from having it independently of the rest of the work:
in general (comments on the specifics welcome) cpuacct is made more naturally
integrated with the scheduler, and the statistics it collects are now exactly
the same as the system-wide ones for the root cgroup case. I think quite similar
can be done with cpuusage by associating the root cgroup with the main runqueues,
but this here is just me scratching my own itches - we can do it later.

Please let me know if this is acceptable.

Glauber Costa (4):
  Change cpustat fields to an array.
  Reuse cgroup's parent pointer
  Move part of cpuacct code
  cpuacct.stat: re-use scheduler statistics for the root cgroup

 arch/s390/appldata/appldata_os.c       |   16 +-
 arch/x86/include/asm/i387.h            |    2 +-
 drivers/cpufreq/cpufreq_conservative.c |   38 ++---
 drivers/cpufreq/cpufreq_ondemand.c     |   38 ++---
 drivers/macintosh/rack-meter.c         |    8 +-
 fs/proc/stat.c                         |   63 ++++----
 fs/proc/uptime.c                       |    4 +-
 include/linux/kernel_stat.h            |   36 +++--
 kernel/sched.c                         |  270 ++++++++++++++++++--------------
 9 files changed, 252 insertions(+), 223 deletions(-)

-- 
1.7.6.4


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/4] Provide cpuacct functionality in cpu cgroup
@ 2011-11-15 15:59 Glauber Costa
  2011-11-15 15:59 ` [PATCH 1/4] Change cpustat fields to an array Glauber Costa
  0 siblings, 1 reply; 14+ messages in thread
From: Glauber Costa @ 2011-11-15 15:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: paul, lizf, daniel.lezcano, a.p.zijlstra, jbottomley, pjt, cgroups

Hi,

This is an excerpt of the last patches I sent regarding cpu cgroup.
It is mostly focused on cleaning up what we have now, so it can
be considered largely preparation. As a user of the new organization
of things, I am including cpuacct stats functionality in the end of
the series. The files related to cpuusage are left to be sent in
an upcoming series after this one is included.

Let me know if there is anything you'd like me to address.

Glauber Costa (4):
  Change cpustat fields to an array.
  split kernel stat in two
  Keep scheduler statistics per cgroup
  provide a version of cpuacct statistics inside cpu cgroup

 arch/s390/appldata/appldata_os.c       |   18 ++-
 arch/x86/include/asm/i387.h            |    2 +-
 drivers/cpufreq/cpufreq_conservative.c |   33 +++--
 drivers/cpufreq/cpufreq_ondemand.c     |   33 +++--
 drivers/macintosh/rack-meter.c         |    8 +-
 fs/proc/stat.c                         |   67 +++++-----
 fs/proc/uptime.c                       |    9 +-
 include/linux/kernel_stat.h            |   54 ++++++--
 kernel/sched.c                         |  228 +++++++++++++++++++++++++-------
 9 files changed, 315 insertions(+), 137 deletions(-)

-- 
1.7.6.4


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-11-26 20:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-25  1:33 [PATCH 0/4] cpuacct cleanup Glauber Costa
2011-11-25  1:33 ` [PATCH 1/4] Change cpustat fields to an array Glauber Costa
2011-11-25  2:33   ` KAMEZAWA Hiroyuki
2011-11-25  1:33 ` [PATCH 2/4] Reuse cgroup's parent pointer Glauber Costa
2011-11-25  2:29   ` KAMEZAWA Hiroyuki
2011-11-25  1:33 ` [PATCH 3/4] Move part of cpuacct code Glauber Costa
2011-11-26 13:21   ` Paul Turner
2011-11-26 20:17     ` Glauber Costa
2011-11-25  1:33 ` [PATCH 4/4] cpuacct.stat: re-use scheduler statistics for the root cgroup Glauber Costa
2011-11-25  2:37   ` KAMEZAWA Hiroyuki
  -- strict thread matches above, loose matches on Subject: below --
2011-11-15 15:59 [PATCH 0/4] Provide cpuacct functionality in cpu cgroup Glauber Costa
2011-11-15 15:59 ` [PATCH 1/4] Change cpustat fields to an array Glauber Costa
2011-11-16  5:58   ` Paul Turner
2011-11-16 11:25     ` Glauber Costa
2011-11-16 11:31       ` Glauber Costa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®