2005-10-25 01:11:26

by Lu, Yinghai

[permalink] [raw]
Subject: x86_64: 2.6.14 machine_emergency_restart

Andi,

in arch/x86_64/kernel/reboot.c , machine_emergency_restart,

why it need to loop 100 times...? it could hold the restart for 10 seconds

YH


2005-10-25 07:46:08

by Andi Kleen

[permalink] [raw]
Subject: Re: [discuss] x86_64: 2.6.14 machine_emergency_restart

On Tuesday 25 October 2005 03:11, Yinghai Lu wrote:
> Andi,
>
> in arch/x86_64/kernel/reboot.c , machine_emergency_restart,
>
> why it need to loop 100 times...? it could hold the restart for 10 seconds


No particular reason - just inherited that from i386. You're right it's a bit
too long. I will change it to 10 times.

-Andi