Skip to content

Commit

Permalink
powerpc: Reduce pseries panic timeout from 180s to 10s
Browse files Browse the repository at this point in the history
We've had a 180 second panic timeout on ppc64 for as long as I
can remember. This patch reduces it to 10 seconds on pseries for a few
reasons:

- Almost all pseries machines have a hypervisor console so panic
  output will be available in a scrollback buffer.

- The 180 seconds impacts our availability, users (other than
  kernel hackers) just want the box to come back around so it
  can continue its work.

- I spend a lot of my life staring at the 180 second panic timeout.
  Many pseries machines take minutes to power cycle, so it's quicker
  to sit through the 180 seconds than it is to power cycle.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Dec 8, 2011
1 parent 760ca4d commit a934904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ early_initcall(alloc_dispatch_log_kmem_cache);

static void __init pSeries_setup_arch(void)
{
panic_timeout = 10;

/* Discover PIC type and setup ppc_md accordingly */
pseries_discover_pic();

Expand Down

0 comments on commit a934904

Please sign in to comment.