All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] per cgroup /proc/stat statistics
@ 2012-05-30  9:48 ` Glauber Costa
  0 siblings, 0 replies; 70+ messages in thread
From: Glauber Costa @ 2012-05-30  9:48 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: cgroups-u79uwXL29TY76Z2rM5mHXA, devel-GEFAQzZX7r8dnm+yROfE0A,
	Paul Turner, Peter Zijlstra, Tejun Heo, Eric W. Biederman,
	handai.szj-Re5JQEeQqe8AvxtiuMwx3w, Andrew.Phillips-xheW4WVAX9Y,
	Serge Hallyn

Hi

This is a rework of my v2 series taking into account Paul
Turner's comments. All the series is the same except for
the patch that collets nr_switches that is now completely reworked.

It is out of schedule(), relegated to a scheduler hook. Only difference
from Paul's suggestion is that I added a new one, instead of messing with
put_prev_task + pick_next_task pairs. In the patchset that adds it,
I'll try to argue for my solution.

Hope this is acceptable, and please let me know of any other concerns.

v2:
* completely reworked nr_switches gathering
* separated per-se sleep_start to be more clear about it

Glauber Costa (6):
  measure exec_clock for rt sched entities
  account guest time per-cgroup as well.
  expose fine-grained per-cpu data for cpuacct stats
  add a new scheduler hook for context switch
  Also record sleep start for a task group
  expose per-taskgroup schedstats in cgroup

 include/linux/sched.h |    1 +
 kernel/sched/core.c   |  166 +++++++++++++++++++++++++++++++++++++++++++++++--
 kernel/sched/fair.c   |   42 ++++++++++++-
 kernel/sched/rt.c     |   20 ++++++
 kernel/sched/sched.h  |    6 ++
 5 files changed, 228 insertions(+), 7 deletions(-)

-- 
1.7.10.2

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

end of thread, other threads:[~2012-05-30 13:29 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30  9:48 [PATCH v3 0/6] per cgroup /proc/stat statistics Glauber Costa
2012-05-30  9:48 ` Glauber Costa
2012-05-30  9:48 ` [PATCH v3 2/6] account guest time per-cgroup as well Glauber Costa
2012-05-30  9:48   ` Glauber Costa
     [not found]   ` <1338371317-5980-3-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 10:32     ` Peter Zijlstra
2012-05-30 10:32       ` Peter Zijlstra
2012-05-30 10:36       ` Glauber Costa
2012-05-30 10:36         ` Glauber Costa
2012-05-30 10:46         ` Paul Turner
     [not found] ` <1338371317-5980-1-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30  9:48   ` [PATCH v3 1/6] measure exec_clock for rt sched entities Glauber Costa
2012-05-30  9:48     ` Glauber Costa
     [not found]     ` <1338371317-5980-2-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 10:29       ` Peter Zijlstra
2012-05-30 10:29         ` Peter Zijlstra
2012-05-30 10:32         ` Glauber Costa
2012-05-30 10:32           ` Glauber Costa
     [not found]           ` <4FC5F727.2040804-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 10:42             ` Peter Zijlstra
2012-05-30 10:42               ` Peter Zijlstra
2012-05-30 10:42               ` Glauber Costa
2012-05-30 10:42                 ` Glauber Costa
     [not found]                 ` <4FC5F99B.2060109-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 11:00                   ` Paul Turner
2012-05-30 11:00                     ` Paul Turner
     [not found]                     ` <CAPM31RL-X2GYju-opjUumPq_cfGiRzGowXEOx9Tq4kVEG-z3SA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-30 12:09                       ` Glauber Costa
2012-05-30 12:09                         ` Glauber Costa
2012-05-30  9:48   ` [PATCH v3 3/6] expose fine-grained per-cpu data for cpuacct stats Glauber Costa
2012-05-30  9:48     ` Glauber Costa
     [not found]     ` <1338371317-5980-4-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 10:34       ` Peter Zijlstra
2012-05-30 10:34         ` Peter Zijlstra
2012-05-30 10:34         ` Glauber Costa
2012-05-30 10:34           ` Glauber Costa
     [not found]           ` <4FC5F7A0.2000201-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 10:43             ` Peter Zijlstra
2012-05-30 10:43               ` Peter Zijlstra
2012-05-30 10:44               ` Glauber Costa
2012-05-30 10:44                 ` Glauber Costa
     [not found]                 ` <4FC5FA20.50301-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 11:24                   ` Peter Zijlstra
2012-05-30 11:24                     ` Peter Zijlstra
2012-05-30 11:24     ` Paul Turner
     [not found]       ` <CAPM31RJanAvDB+pZ+h5J3W6KXvAwPgbbeXgw6C_56tx_Mc+cgA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-30 12:20         ` Glauber Costa
2012-05-30 12:20           ` Glauber Costa
     [not found]           ` <4FC6107F.9020802-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 12:48             ` Paul Turner
2012-05-30 12:48               ` Paul Turner
2012-05-30 12:52               ` Glauber Costa
2012-05-30 12:52                 ` Glauber Costa
     [not found]               ` <CAPM31RJ7s+pNciOEnsfXRU9xCwnUano1k8CTEUuCjsSN5n0-1Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-30 13:26                 ` Glauber Costa
2012-05-30 13:26                   ` Glauber Costa
2012-05-30 13:26               ` Glauber Costa
2012-05-30 13:26                 ` Glauber Costa
2012-05-30  9:48   ` [PATCH v3 6/6] expose per-taskgroup schedstats in cgroup Glauber Costa
2012-05-30  9:48     ` Glauber Costa
     [not found]     ` <1338371317-5980-7-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 11:22       ` Peter Zijlstra
2012-05-30 11:22         ` Peter Zijlstra
2012-05-30  9:48 ` [PATCH v3 4/6] add a new scheduler hook for context switch Glauber Costa
2012-05-30  9:48   ` Glauber Costa
     [not found]   ` <1338371317-5980-5-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 11:20     ` Peter Zijlstra
2012-05-30 11:20       ` Peter Zijlstra
2012-05-30 11:40       ` Peter Zijlstra
2012-05-30 11:40         ` Peter Zijlstra
2012-05-30 12:08         ` Glauber Costa
2012-05-30 12:08           ` Glauber Costa
2012-05-30 12:07       ` Glauber Costa
2012-05-30 12:07         ` Glauber Costa
2012-05-30  9:48 ` [PATCH v3 5/6] Also record sleep start for a task group Glauber Costa
2012-05-30  9:48   ` Glauber Costa
     [not found]   ` <1338371317-5980-6-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 11:35     ` Paul Turner
2012-05-30 11:35       ` Paul Turner
     [not found]       ` <CAPM31R+VXsffUOSOtMPG=g+G9OdzWMKQvx9usTFa3KBbrqPe6A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-30 12:24         ` Glauber Costa
2012-05-30 12:24           ` Glauber Costa
     [not found]           ` <4FC61188.8000908-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-05-30 12:44             ` Peter Zijlstra
2012-05-30 12:44               ` Peter Zijlstra
2012-05-30 12:44               ` Glauber Costa
2012-05-30 12:44                 ` Glauber Costa

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.