]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
nohz: no softirq pending warnings for offline cpus
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 11 Dec 2008 16:04:11 +0000 (17:04 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 06:27:01 +0000 (07:27 +0100)
commitfa116ea35ec7f40e890972324409e99eed008d56
tree60747cb2e78fbd66abdce1f133816ab22a078d34
parent6c34bc2976b30dc8b56392c020e25bae1f363cab
nohz: no softirq pending warnings for offline cpus

Impact: remove false positive warning

After a cpu was taken down during cpu hotplug (read: disabled for interrupts)
it still might have pending softirqs. However take_cpu_down makes sure
that the idle task will run next instead of ksoftirqd on the taken down cpu.
The idle task will call tick_nohz_stop_sched_tick which might warn about
pending softirqs just before the cpu kills itself completely.

However the pending softirqs on the dead cpu aren't a problem because they
will be moved to an online cpu during CPU_DEAD handling.

So make sure we warn only for online cpus.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-sched.c