lkml.org 
[lkml]   [2014]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/5] x86: replace timeouts when booting secondary CPU with infinite wait loop
On Thu, Apr 03, 2014 at 08:43:37AM +0200, Ingo Molnar wrote:
>
> * Igor Mammedov <imammedo@redhat.com> wrote:
>
> > > I've seen that. Kernel still boots. With your patch it would hang.
>
> Nonsense, not booting is OK when critical hardware is genuinely bad -
> this isn't a disk drive or networking where bad IO 'happens sometimes'
> and failure is something we have to engineer for - this is the CPU!
>
> If a critical piece of hardware like the CPU or RAM is non-functional
> then it should be excluded by the user explicitly, not worked around
> after some ugly, non-deterministic and fragile timeout.

That's generally not true. We try to recover as best as we can
and continue.

That's true for RCU stalls, and RAM errors (hwpoison) and
other error conditions. It's true for kernel problems
(we try to oops and continue, not to panic etc.)

Hanging forever is not recovering, it's just poor and broken
error handling and generally not acceptable these days.

-Andi



\
 
 \ /
  Last update: 2014-04-03 23:41    [W:0.250 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site