summaryrefslogtreecommitdiffstats
path: root/kernel/sched_stats.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-02-26 15:40:15 +0800
committerIngo Molnar <mingo@elte.hu>2009-02-26 13:22:38 +0100
commitc40c6f85a7594ad842233885386a0ca4cd40eafe (patch)
treec04285769854afb32bb9d97224eb0a27f40b343c /kernel/sched_stats.h
parent4434e5156409eb3ec98f5ad7f0a0c07ebafe970d (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>
Diffstat (limited to 'kernel/sched_stats.h')
0 files changed, 0 insertions, 0 deletions