KaiGai Kohei
77787bfb44
[PATCH] pacct: none-delayed process accounting accumulation
...
In current 2.6.17 implementation, signal_struct refered from task_struct is
used for per-process data structure. The pacct facility also uses it as a
per-process data structure to store stime, utime, minflt, majflt. But those
members are saved in __exit_signal(). It's too late.
For example, if some threads exits at same time, pacct facility has a
possibility to drop accountings for a part of those threads. (see, the
following 'The results of original 2.6.17 kernel') I think accounting
information should be completely collected into the per-process data structure
before writing out an accounting record.
This patch fixes this matter. Accumulation of stime, utime, minflt and majflt
are done before generating accounting record.
[mingo@elte.hu: fix acct_collect() siglock bug found by lockdep]
Signed-off-by: KaiGai Kohei <kaigai@ak.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:01:25 -07:00
..
2006-06-20 15:10:08 -07:00
2006-06-20 15:10:08 -07:00
2006-06-20 15:10:08 -07:00
2006-06-21 15:04:18 -07:00
2006-06-25 10:01:25 -07:00
2006-06-23 07:42:48 -07:00
2006-06-20 15:37:56 -07:00
2006-06-23 17:10:39 +02:00
2006-06-23 17:10:38 +02:00
2006-06-23 07:42:46 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-22 11:22:50 -07:00
2006-06-25 10:01:05 -07:00
2006-06-23 07:52:36 -07:00
2006-06-25 10:01:12 -07:00
2006-06-23 07:42:45 -07:00
2006-06-21 15:01:33 +10:00
2006-06-21 12:40:49 -07:00
2006-06-17 21:25:46 -07:00
2006-06-23 02:07:36 -07:00
2006-06-25 10:01:13 -07:00
2006-06-25 10:01:10 -07:00
2006-06-25 10:01:10 -07:00
2006-06-25 10:00:59 -07:00
2006-06-25 10:01:22 -07:00
2006-06-23 07:43:03 -07:00
2006-06-20 05:25:28 -04:00
2006-06-25 10:01:19 -07:00
2006-06-23 07:42:49 -07:00
2006-06-22 23:32:03 -04:00
2006-06-25 10:01:23 -07:00
2006-06-23 07:42:48 -07:00
2006-06-22 11:10:33 -07:00
2006-06-22 11:10:34 -07:00
2006-06-25 10:01:06 -07:00
2006-06-17 21:29:37 -07:00
2006-06-20 05:25:19 -04:00
2006-06-20 15:10:08 -07:00
2006-06-23 07:43:08 -07:00
2006-06-20 20:24:58 -07:00
2006-06-23 07:43:07 -07:00
2006-06-23 07:43:08 -07:00
2006-06-23 07:43:08 -07:00
2006-06-21 12:40:49 -07:00
2006-06-23 07:43:08 -07:00
2006-06-25 10:01:23 -07:00
2006-06-23 07:43:02 -07:00
2006-06-22 15:05:56 -07:00
2006-06-21 12:40:48 -07:00
2006-06-25 10:01:24 -07:00
2006-06-25 10:01:23 -07:00
2006-06-22 23:46:10 -04:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:20 -07:00
2006-06-22 11:10:32 -07:00
2006-06-20 15:10:08 -07:00
2006-06-25 10:00:55 -07:00
2006-06-25 10:00:55 -07:00
2006-06-23 07:42:51 -07:00
2006-06-23 07:43:03 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:13 -07:00
2006-06-23 02:07:36 -07:00
2006-06-22 11:22:50 -07:00
2006-06-23 07:42:46 -07:00
2006-06-23 07:43:02 -07:00
2006-06-25 10:01:09 -07:00
2006-06-22 22:11:56 -04:00
2006-06-22 15:05:56 -07:00
2006-06-21 12:00:00 -07:00
2006-06-23 07:43:06 -07:00
2006-06-17 22:54:03 -07:00
2006-06-25 10:00:59 -07:00
2006-06-23 07:43:03 -07:00
2006-06-23 07:42:49 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 17:10:39 +02:00
2006-06-23 07:43:07 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:06 -07:00
2006-06-24 14:44:01 -07:00
2006-06-23 07:42:50 -07:00
2006-06-25 10:01:14 -07:00
2006-06-25 10:01:14 -07:00
2006-06-25 10:01:25 -07:00
2006-06-23 07:42:54 -07:00
2006-06-17 21:29:55 -07:00
2006-06-24 21:21:32 +01:00
2006-06-23 02:07:42 -07:00
2006-06-23 07:42:52 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 07:42:59 -07:00
2006-06-23 07:42:52 -07:00
2006-06-23 07:42:50 -07:00
2006-06-25 10:01:24 -07:00
2006-06-23 07:42:53 -07:00
2006-06-25 10:01:15 -07:00
2006-06-21 12:40:48 -07:00
2006-06-23 02:07:40 -07:00
2006-06-21 12:40:47 -07:00
2006-06-23 07:42:56 -07:00
2006-06-25 10:01:03 -07:00
2006-06-25 10:01:04 -07:00
2006-06-21 15:04:19 -07:00
2006-06-23 07:42:49 -07:00
2006-06-20 15:10:08 -07:00
2006-06-23 07:42:49 -07:00
2006-06-17 21:28:39 -07:00
2006-06-22 15:05:58 -07:00
2006-06-22 15:05:58 -07:00
2006-06-23 07:43:00 -07:00
2006-06-22 15:05:58 -07:00