commit | c40c6f85a7594ad842233885386a0ca4cd40eafe | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Thu Feb 26 15:40:15 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Feb 26 13:22:38 2009 +0100 |
tree | c04285769854afb32bb9d97224eb0a27f40b343c | |
parent | 4434e5156409eb3ec98f5ad7f0a0c07ebafe970d [diff] |
cpuacct: add a branch prediction cpuacct_charge() is in fast-path, and checking of !cpuacct_susys.active always returns false after cpuacct has been initialized at system boot. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Menage <menage@google.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>