-
- Downloads
panic: keep blinking in spite of long spin timer mode
To keep panic_timeout accuracy when running under a hypervisor, the current implementation only spins on long time (1 second) calls to mdelay. That brings a good effect, but the problem is the keyboard LEDs don't blink at all on that situation. This patch changes to call to panic_blink_enter() between every mdelay and keeps blinking in spite of long spin timer mode. The time to call to mdelay is now 100ms. Even this change will keep panic_timeout accuracy enough when running under a hypervisor. Signed-off-by:TAMUKI Shoichi <tamuki@linet.gr.jp> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Russell King <linux@arm.linux.org.uk> Acked-by:
Dmitry Torokhov <dtor@mail.ru> Cc: Anton Blanchard <anton@samba.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/kernel-parameters.txt 0 additions, 3 deletionsDocumentation/kernel-parameters.txt
- arch/arm/mach-s3c2440/mach-gta02.c 5 additions, 12 deletionsarch/arm/mach-s3c2440/mach-gta02.c
- drivers/input/serio/i8042.c 5 additions, 20 deletionsdrivers/input/serio/i8042.c
- include/linux/kernel.h 1 addition, 1 deletioninclude/linux/kernel.h
- kernel/panic.c 26 additions, 32 deletionskernel/panic.c
Loading
Please register or sign in to comment