All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Enable cpu frequency and power tracking for cpuacct cgroup
@ 2010-05-19  1:30 ` Mike Chan
  0 siblings, 0 replies; 40+ messages in thread
From: Mike Chan @ 2010-05-19  1:30 UTC (permalink / raw)
  Cc: khilman, menage, balbir, cpufreq, linux-kernel, linux-omap,
	Mike Chan

Rebased onto  linux-next.

This patch series introduces cpu frequency and power tracking for cpuacct
cgroups. A similar patch set was discussed a while back and it was concluded
that due to varying architectures (ppc, x86 with overboot) you cannot account
for frequencies and their power consumption generically in sched.c, thus we
have platform specific hooks the cpuacct can call into (if available).

I've implemented all the necessary hooks for OMAP architecture as an example.
For the OMAP folks, I?m not sure what the state of the OPP API in mainline,
as most of my original work was based off of the omap-pm branch.


Mike Chan (4):
  scheduler: cpuacct: Enable platform hooks to track cpuusage for CPU
    frequencies
  omap: cpu: Implement callbacks for cpu frequency tracking in cpuacct
  scheduler: cpuacct: Enable platform callbacks for cpuacct power
    tracking
  omap: cpu: Power tracking support for cgroup cpuacct

 Documentation/cgroups/cpuacct.txt         |    7 ++
 arch/arm/plat-omap/cpu-omap.c             |   87 ++++++++++++++++++++++++++++-
 arch/arm/plat-omap/include/plat/omap-pm.h |    1 +
 include/linux/cpuacct.h                   |   43 ++++++++++++++
 kernel/sched.c                            |   69 +++++++++++++++++++++++
 5 files changed, 206 insertions(+), 1 deletions(-)
 create mode 100644 include/linux/cpuacct.h

Signed-off-by: Mike Chan <mike@android.com>

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

end of thread, other threads:[~2010-05-20 10:53 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19  1:30 [PATCH 0/4] Enable cpu frequency and power tracking for cpuacct cgroup Mike Chan
2010-05-19  1:30 ` Mike Chan
2010-05-19  1:30 ` [PATCH 1/4] scheduler: cpuacct: Enable platform hooks to track cpuusage for CPU frequencies Mike Chan
2010-05-19  1:30   ` Mike Chan
2010-05-19  1:30 ` [PATCH 2/4] omap: cpu: Implement callbacks for cpu frequency tracking in cpuacct Mike Chan
2010-05-19  1:30   ` Mike Chan
2010-05-19  1:30 ` [PATCH 3/4] scheduler: cpuacct: Enable platform callbacks for cpuacct power tracking Mike Chan
2010-05-19  1:30   ` Mike Chan
     [not found]   ` <1274232620-23003-4-git-send-email-mike-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>
2010-05-19  9:30     ` [PATCH] scheduler: Extract cgroups_cpuaccount code from sched.c into own file Thomas Renninger
2010-05-19  9:30   ` Thomas Renninger
2010-05-19  9:37     ` Peter Zijlstra
2010-05-19 10:27       ` Peter Zijlstra
2010-05-19 10:27         ` Peter Zijlstra
2010-05-19 18:58         ` scheduler: cleanup sched.c and extract cgroup_cpuaccount stuff into separate file Thomas Renninger
2010-05-19 18:58         ` Thomas Renninger
2010-05-19 18:58         ` [PATCH 1/2] scheduler: Extract cgroups_cpuaccount code from sched.c into own file V2 Thomas Renninger
2010-05-19 18:58         ` Thomas Renninger
2010-05-19 18:58         ` [PATCH 2/2] scheduler: cgroups cpuaccouting: Make cpuusage atomic Thomas Renninger
2010-05-19 18:58         ` Thomas Renninger
     [not found]           ` <1274295539-7798-3-git-send-email-trenn-l3A5Bk7waGM@public.gmane.org>
2010-05-19 19:02             ` Peter Zijlstra
2010-05-20  0:43             ` KAMEZAWA Hiroyuki
2010-05-19 19:02           ` Peter Zijlstra
2010-05-19 19:13             ` Thomas Renninger
2010-05-19 19:31               ` Mike Chan
     [not found]               ` <201005192113.52535.trenn-l3A5Bk7waGM@public.gmane.org>
2010-05-19 19:31                 ` Mike Chan
2010-05-19 19:13             ` Thomas Renninger
2010-05-20 10:53             ` Thomas Renninger
2010-05-20 10:53             ` Thomas Renninger
2010-05-20  0:43           ` KAMEZAWA Hiroyuki
2010-05-19 10:27       ` [PATCH] scheduler: Extract cgroups_cpuaccount code from sched.c into own file Peter Zijlstra
2010-05-19 19:06     ` Mike Chan
2010-05-19 19:06       ` Mike Chan
     [not found]     ` <201005191130.42851.trenn-l3A5Bk7waGM@public.gmane.org>
2010-05-19  9:37       ` Peter Zijlstra
2010-05-19 19:06       ` Mike Chan
2010-05-19  1:30 ` [PATCH 4/4] omap: cpu: Power tracking support for cgroup cpuacct Mike Chan
2010-05-19  1:30   ` Mike Chan
2010-05-19 13:11   ` Nishanth Menon
2010-05-19 15:34     ` Thomas Renninger
2010-05-19 18:56       ` Mike Chan
2010-05-19 19:00         ` Nishanth Menon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.