softirqs: Account ksoftirqd time as cpustat softirq
authorVenkatesh Pallipadi <venki@google.com>
Wed, 22 Dec 2010 01:09:04 +0000 (17:09 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Jan 2011 11:33:22 +0000 (12:33 +0100)
commit414bee9ba613adb3804965e2d84db32d0599f9c6
tree296a0f95ab5dd9c7ca8965639ab39f67c4187586
parentabb74cefa9c682fb38ba86c17ca3c86fed6cc464
softirqs: Account ksoftirqd time as cpustat softirq

softirq time in ksoftirqd context is not accounted in ns granularity
per cpu softirq stats, as we want that to be a part of ksoftirqd
exec_runtime.

Accounting them as softirq on /proc/stat separately.

Tested-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1292980144-28796-6-git-send-email-venki@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c