Christian Borntraeger
efe567fc82
sched: accounting regression since rc1
...
Fix the accounting regression for CONFIG_VIRT_CPU_ACCOUNTING. It
reverts parts of commit b27f03d4bd by
converting fs/proc/array.c back to cputime_t. The new functions
task_utime and task_stime now return cputime_t instead of clock_t. If
CONFIG_VIRT_CPU_ACCOUTING is set, task->utime and task->stime are
returned directly instead of using sum_exec_runtime.
Patch is tested on s390x with and without VIRT_CPU_ACCOUTING as well as
on i386.
[ mingo@elte.hu: cleanups, comments. ]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2007-08-23 15:18:02 +02:00
..
2007-07-16 16:03:25 -05:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:40 -07:00
2007-08-22 19:52:46 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-18 00:15:20 +00:00
2007-07-21 17:49:14 -07:00
2007-07-20 10:11:58 +09:00
2007-07-18 15:49:48 -07:00
2007-08-14 10:31:02 +01:00
2007-08-22 19:52:44 -07:00
2007-07-20 10:11:58 +09:00
2007-07-17 10:23:06 -07:00
2007-07-26 11:35:17 -07:00
2007-07-26 11:35:17 -07:00
2007-07-31 15:39:37 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-14 10:34:40 +01:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:41 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-20 22:44:27 -07:00
2007-07-20 10:11:58 +09:00
2007-07-26 11:11:56 -07:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:41 -07:00
2007-08-07 16:12:50 -04:00
2007-07-31 15:39:38 -07:00
2007-07-16 09:05:52 -07:00
2007-07-20 10:11:58 +09:00
2007-08-09 17:27:58 -07:00
2007-07-20 10:11:58 +09:00
2007-07-30 00:27:31 -07:00
2007-08-23 15:18:02 +02:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:36 -07:00
2007-07-26 11:11:58 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:43 -07:00
2007-07-20 10:11:58 +09:00
2007-07-26 11:11:57 -07:00
2007-07-17 11:50:26 -07:00
2007-07-17 12:00:03 -07:00
2007-07-19 10:04:47 -07:00
2007-07-21 17:49:14 -07:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-24 09:28:11 +02:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:44:19 -07:00
2007-07-19 10:04:43 -07:00
2007-08-06 15:06:03 -04:00
2007-07-19 10:04:45 -07:00
2007-07-20 10:11:58 +09:00
2007-07-29 17:09:29 -07:00
2007-08-20 22:50:25 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-22 19:52:47 -07:00
2007-07-20 10:11:58 +09:00
2007-07-17 12:00:03 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-16 09:05:48 -07:00
2007-07-19 15:09:02 -04:00
2007-07-31 15:39:43 -07:00
2007-07-20 10:11:58 +09:00
2007-07-19 10:04:45 -07:00
2007-07-20 10:11:58 +09:00
2007-07-19 10:04:45 -07:00
2007-07-31 15:39:42 -07:00
2007-07-27 08:08:51 +02:00
2007-07-27 15:40:13 -07:00
2007-07-16 09:05:45 -07:00
2007-08-22 19:52:46 -07:00
2007-07-27 08:08:51 +02:00
2007-07-16 09:05:46 -07:00
2007-07-26 11:35:17 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 12:00:03 -07:00