Balbir Singh
49048622ea
sched: fix process time monotonicity
...
Spencer reported a problem where utime and stime were going negative despite
the fixes in commit b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa. The suspected
reason for the problem is that signal_struct maintains it's own utime and
stime (of exited tasks), these are not updated using the new task_utime()
routine, hence sig->utime can go backwards and cause the same problem
to occur (sig->utime, adds tsk->utime and not task_utime()). This patch
fixes the problem
TODO: using max(task->prev_utime, derived utime) works for now, but a more
generic solution is to implement cputime_max() and use the cputime_gt()
function for comparison.
Reported-by: spencer@bluehost.com
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-05 18:14:35 +02:00
..
2008-08-25 01:18:09 -04:00
2008-08-25 01:18:09 -04:00
2008-08-25 01:18:09 -04:00
2008-08-04 21:31:34 -07:00
2008-08-25 01:18:09 -04:00
2008-08-25 01:18:09 -04:00
2008-07-26 12:00:07 -07:00
2008-08-28 15:32:22 +00:00
2008-07-26 20:53:34 -04:00
2008-08-22 11:09:02 -07:00
2008-08-20 15:40:32 -07:00
2008-07-21 21:54:59 -07:00
2008-08-01 11:25:29 -04:00
2008-08-13 12:47:36 -05:00
2008-07-28 16:30:21 -07:00
2008-08-25 01:18:04 -04:00
2008-04-30 08:29:54 -07:00
2008-07-28 16:30:21 -07:00
2008-08-01 11:25:25 -04:00
2008-08-19 21:14:52 -04:00
2008-08-20 08:31:19 -07:00
2008-04-29 08:06:00 -07:00
2008-07-26 20:53:21 -04:00
2008-07-26 20:53:36 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 20:53:13 -04:00
2008-07-26 20:53:07 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-08-12 00:11:49 +02:00
2008-08-12 00:11:49 +02:00
2008-08-23 12:14:12 -07:00
2008-07-26 20:53:14 -04:00
2008-08-12 16:39:22 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:37 -04:00
2008-08-04 16:50:38 -07:00
2008-09-01 14:24:24 -04:00
2008-09-02 19:21:37 -07:00
2008-08-25 07:29:47 -07:00
2008-08-15 08:35:44 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:44 -07:00
2008-09-05 18:14:35 +02:00
2008-07-26 12:00:07 -07:00
2008-07-04 09:52:14 +02:00
2008-08-12 16:07:30 -07:00
2008-07-30 14:30:34 -07:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:07 -07:00
2008-08-14 12:46:20 +03:00
2008-07-26 12:00:07 -07:00
2008-08-04 16:50:38 -07:00
2008-07-25 10:53:34 -07:00
2008-08-25 01:18:09 -04:00
2008-07-26 20:53:40 -04:00
2008-07-24 10:47:28 -07:00
2008-07-26 20:53:28 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:08 -07:00
2008-07-28 18:10:28 +09:00
2008-07-26 12:00:08 -07:00
2008-04-29 08:06:04 -07:00
2008-08-11 20:17:55 +09:00
2008-08-20 15:40:31 -07:00
2008-04-29 08:06:04 -07:00
2008-07-26 12:00:08 -07:00
2008-07-28 16:30:21 -07:00
2008-08-27 09:50:19 +02:00
2008-08-01 11:25:31 -04:00
2008-08-27 09:50:19 +02:00
2008-06-20 14:05:53 -06:00
2008-07-25 10:53:34 -07:00
2008-08-25 01:18:08 -04:00
2008-08-25 01:18:05 -04:00
2008-07-26 12:00:06 -07:00
2008-05-01 13:08:16 -04:00
2008-08-01 11:25:25 -04:00
2008-04-29 08:06:05 -07:00
2008-07-24 10:47:29 -07:00
2008-08-12 16:07:30 -07:00
2008-07-28 16:30:20 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:06 -04:00
2008-07-26 20:53:40 -04:00
2008-08-01 11:25:23 -04:00
2008-07-14 19:10:52 +03:00
2008-08-15 08:35:44 -07:00
2008-07-26 20:53:34 -04:00
2008-04-29 08:06:00 -07:00
2008-08-20 15:40:32 -07:00
2008-08-26 18:32:28 +00:00
2008-07-28 18:10:28 +09:00
2008-07-30 09:41:44 -07:00
2008-07-26 12:00:07 -07:00
2008-07-26 12:00:05 -07:00
2008-07-11 19:27:31 -04:00
2008-08-01 11:25:30 -04:00
2008-08-01 11:25:32 -04:00
2008-08-01 11:25:23 -04:00
2008-07-26 20:53:06 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00
2008-08-25 01:18:08 -04:00
2008-06-22 12:23:15 -07:00
2008-08-25 01:18:10 -04:00
2008-07-24 10:47:29 -07:00
2008-08-04 21:31:34 -07:00
2008-07-26 20:53:34 -04:00
2008-07-24 10:47:15 -07:00
2008-07-24 10:47:17 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:34 -04:00