Glauber Costa
54c707e98d
sched/accounting: Re-use scheduler statistics for the root cgroup
...
Right now, after we collect tick statistics for user and system and store them
in a well known location, we keep the same statistics again for cpuacct.
Since cpuacct is hierarchical, the numbers for the root cgroup should be
absolutely equal to the system-wide numbers.
So it would be better to just use it: this patch changes cpuacct accounting
in a way that the cpustat statistics are kept in a struct kernel_cpustat percpu
array. In the root cgroup case, we just point it to the main array. The rest of
the hierarchy walk can be totally disabled later with a static branch - but I am
not doing it here.
Signed-off-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Tuner <pjt@google.com>
Link: http://lkml.kernel.org/r/1322498719-2255-4-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-12-06 20:51:21 +01:00
..
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-07-26 16:49:45 -07:00
2011-11-06 19:44:47 -08:00
2011-11-07 23:02:24 +01:00
2011-12-06 20:51:21 +01:00
2011-12-06 09:06:32 +01:00
2011-10-31 19:30:05 -04:00
2010-08-09 16:48:42 -04:00
2011-10-31 09:20:12 -04:00
2011-07-20 14:10:11 -07:00
2011-03-14 09:15:23 -04:00
2011-10-31 09:20:12 -04:00
2010-10-30 01:42:19 -04:00
2011-03-03 10:55:40 -08:00
2011-10-31 09:20:12 -04:00
2011-03-23 19:46:28 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-11-02 16:07:03 -07:00
2011-10-31 19:30:05 -04:00
2011-07-25 20:57:15 -07:00
2011-09-23 12:05:29 +05:30
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-07-14 12:59:14 +03:00
2011-10-31 09:20:12 -04:00
2010-03-06 11:26:46 -08:00
2010-08-09 20:45:05 -07:00
2011-10-31 17:30:45 -07:00
2011-05-20 08:56:56 +02:00
2011-11-06 19:02:23 -08:00
2011-11-06 19:44:47 -08:00
2011-03-23 19:47:08 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2009-11-18 16:32:12 +01:00
2011-10-25 11:55:15 -07:00
2011-03-25 17:52:22 -07:00
2011-04-10 17:01:05 +02:00
2011-06-10 15:15:40 +02:00
2011-10-30 15:16:42 +01:00
2011-10-31 09:20:12 -04:00
2011-10-26 13:10:39 +10:30
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:13 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2010-05-04 05:38:16 +02:00
2011-10-31 09:20:12 -04:00
2011-10-26 16:26:53 +02:00
2011-11-17 12:20:22 +01:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-04-14 08:52:33 +02:00
2011-10-31 09:20:12 -04:00
2011-04-14 08:52:33 +02:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-11-07 07:54:42 +10:30
2011-10-31 09:20:13 -04:00
2011-03-23 19:46:58 -07:00
2011-10-31 09:20:12 -04:00
2011-10-26 16:17:32 +02:00
2011-10-31 09:20:12 -04:00
2011-10-31 17:30:53 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:11 -04:00
2011-09-28 21:38:21 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:13 -04:00
2011-10-31 09:20:13 -04:00
2011-09-28 21:38:46 -07:00
2011-09-28 21:38:48 -07:00
2011-09-28 21:38:22 -07:00
2011-10-31 09:20:12 -04:00
2011-09-28 21:38:48 -07:00
2011-10-31 09:20:12 -04:00
2011-03-23 19:46:22 -07:00
2011-10-31 09:20:12 -04:00
2011-01-27 21:13:51 -05:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 17:30:44 -07:00
2011-11-06 19:44:47 -08:00
2011-10-03 14:13:01 -04:00
2011-08-12 16:21:35 -05:00
2011-10-31 17:46:07 -07:00
2011-09-19 17:04:37 -07:00
2010-10-14 08:55:27 +02:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-08-10 20:38:14 -04:00
2011-09-19 17:10:57 -07:00
2011-03-23 19:47:08 -07:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 17:30:53 -07:00
2010-06-29 10:07:14 +02:00
2011-10-31 09:20:12 -04:00