aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-03-12 09:23:01 +0800
committerIngo Molnar <mingo@elte.hu>2009-03-13 04:54:58 +0100
commit7a46c594bf7f1f2eeb1e12d4b857d5f581957a92 (patch)
tree35731095fd8f01938a36d2647995ee86747e3bbf /include/linux/interrupt.h
parentMerge branch 'tj-percpu' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc into core/percpu (diff)
downloadwireguard-linux-7a46c594bf7f1f2eeb1e12d4b857d5f581957a92.tar.xz
wireguard-linux-7a46c594bf7f1f2eeb1e12d4b857d5f581957a92.zip
cpuacct: reduce one NULL check in fast-path
Impact: micro-optimization In cpuacct_charge(), task_ca() will never return NULL, so change for(...) to do { } while(...) to save one NULL check. 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> Cc: Bharata B Rao <bharata@linux.vnet.ibm.com> LKML-Reference: <49B863F5.2060400@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions