https://github.com/torvalds/linux
Revision 4edc5db83f574dfcc8be35b7b96760ded543b360 authored by Ingo Molnar on 22 March 2007, 09:31:19 UTC, committed by Linus Torvalds on 23 March 2007, 02:42:31 UTC
latest -git triggers an irqtrace/lockdep warning of a leaked
irqs-off condition:

  BUG: at kernel/fork.c:1033 copy_process()

after some debugging it turns out that commit ca1b940c accidentally left
interrupts disabled - which trickled down all the way to the first time
we fork a kernel thread and triggered the warning.

the fix is to re-enable interrupts in the 'else' branch of
setup_boot_APIC_clock()'s pmtimers calibration path.

Reported-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Thomas Gleixner <tglx@brown.paperbag.linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9c35dd7
History
Tip revision: 4edc5db83f574dfcc8be35b7b96760ded543b360 authored by Ingo Molnar on 22 March 2007, 09:31:19 UTC
[PATCH] setup_boot_APIC_clock() irq-enable fix
Tip revision: 4edc5db
File Mode Size
Makefile -rw-r--r-- 282 bytes
compat.c -rw-r--r-- 16.9 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 4.1 KB
mqueue.c -rw-r--r-- 29.9 KB
msg.c -rw-r--r-- 20.5 KB
msgutil.c -rw-r--r-- 2.3 KB
sem.c -rw-r--r-- 34.6 KB
shm.c -rw-r--r-- 25.7 KB
util.c -rw-r--r-- 19.7 KB
util.h -rw-r--r-- 3.3 KB

back to top