Files
tegra-linux-noble/kernel
Anton Blanchard 8aeee85a29 panic: fix panic_timeout accuracy when running on a hypervisor
I've had some complaints about panic_timeout being wildly innacurate on
shared processor PowerPC partitions (a 3 minute panic_timeout taking 30
minutes).

The problem is we loop on mdelay(1) and with a 1ms in 10ms hypervisor
timeslice each of these will take 10ms (ie 10x) longer.  I expect other
platforms with shared processor hypervisors will see the same issue.

This patch keeps the old behaviour if we have a panic_blink (only keyboard
LEDs right now) and does 1 second mdelays if we don't.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:33 -08:00
..
2010-03-03 14:07:57 -05:00
2010-02-25 12:02:13 +01:00
2010-03-06 11:26:33 -08:00
2010-03-06 11:26:32 -08:00
2010-03-01 09:36:31 +11:00
2010-02-10 17:47:17 -08:00
2010-02-26 08:20:46 +01:00
2010-03-06 11:26:32 -08:00
2010-03-06 11:26:33 -08:00
2010-03-06 11:26:33 -08:00
2010-03-06 11:26:33 -08:00
2010-02-18 14:30:18 -08:00
2010-03-06 11:26:23 -08:00