Re: [PATCH] Booting when CPUs fail to come up.

From: Pavel Machek
Date: Sat Feb 21 2004 - 08:35:46 EST


Hi!

> > > I recently played with setting a bit in cpu_possible_map that wasn't
> > > in cpu_online_map: this can happen without hotplug CPU when a CPU
> > > fails to boot, for example.
> >
> > Is it safe to continue when one cpu is apparently malfunctioning?
>
> Well, patch was overzealous and no longer required.
>
> But we shouldn't crash when this happens just because a CPU didn't
> come up.

I still do not agree.

You have a system you tried to kick CPU #13 alive, and something very
wrong happened, CPU #13 did not come up. It is there, has full access
to memory, it is probably running some kind of program.... I'd not
dare mount disks read-write in such situation and I believe crashing
early is actually right thing to do.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/