cpuacct: add a branch prediction
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 26 Feb 2009 07:40:15 +0000 (15:40 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 12:22:38 +0000 (13:22 +0100)
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>

No differences found