diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-02-26 15:40:15 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-26 13:22:38 +0100 |
commit | c40c6f85a7594ad842233885386a0ca4cd40eafe (patch) | |
tree | c04285769854afb32bb9d97224eb0a27f40b343c /include/linux/sched.h | |
parent | 4434e5156409eb3ec98f5ad7f0a0c07ebafe970d (diff) | |
download | linux-c40c6f85a7594ad842233885386a0ca4cd40eafe.tar.gz linux-c40c6f85a7594ad842233885386a0ca4cd40eafe.tar.bz2 linux-c40c6f85a7594ad842233885386a0ca4cd40eafe.zip |
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>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions