commit | 621e2de02403a6f776852c564b79c38bf3cc9032 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Fri Mar 29 14:44:15 2013 +0800 |
committer | Ingo Molnar <mingo@kernel.org> | Wed Apr 10 13:54:21 2013 +0200 |
tree | ecf275fcd1ae888a0655f271faffa20c32c4710d | |
parent | 14c6d3c8a47ced185b6375c4940b5b393f1a294e [diff] |
sched/cpuacct: Initialize cpuacct subsystem earlier Initialize cpuacct before the scheduler is functioning, so when cpuacct_charge() and cpuacct_account_field() are called, task_ca() won't return NULL. Signed-off-by: Li Zefan <lizefan@huawei.com> Cc: Tejun Heo <tj@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/5155383F.8000005@huawei.com Signed-off-by: Ingo Molnar <mingo@kernel.org>