diff options
| author | Ken Chen <[email protected]> | 2008-12-17 07:41:22 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-12-18 12:54:01 +0000 |
| commit | 9c2c48020ec0dd6ecd27e5a1298f73b40d85a595 (patch) | |
| tree | 1a44f56e18012120aff0969094eebd572deb2ea3 /net/unix/af_unix.c | |
| parent | sched, cpuacct: export percpu cpuacct cgroup stats (diff) | |
| download | kernel-9c2c48020ec0dd6ecd27e5a1298f73b40d85a595.tar.gz kernel-9c2c48020ec0dd6ecd27e5a1298f73b40d85a595.zip | |
schedstat: consolidate per-task cpu runtime stats
Impact: simplify code
When we turn on CONFIG_SCHEDSTATS, per-task cpu runtime is accumulated
twice. Once in task->se.sum_exec_runtime and once in sched_info.cpu_time.
These two stats are exactly the same.
Given that task->se.sum_exec_runtime is always accumulated by the core
scheduler, sched_info can reuse that data instead of duplicate the accounting.
Signed-off-by: Ken Chen <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
