Re: [PATCH 00/22] HWPOISON: Intro (v5)
From: Andi Kleen
Date: Mon Jun 15 2009 - 09:21:33 EST
I think you're wrong about killing processes decreasing
reliability. Traditionally we always tried to keep things running if possible
instead of panicing. That is why ext3 or block does not default to panic
on each IO error for example. Or oops does not panic by default like
on BSDs. Your argumentation would be good for a traditional early Unix
which likes to panic instead of handling errors, but that's not the
Linux way as I know it.
Also BTW in many cases (e.g. a lot of file cache pages) there
is actually no process kill involved; just a reload of the page from
disk.
Then for example in a cluster you typically have a application level
heartbeat on the application and restarting the app is faster
if you don't need to reboot the box too. If you don't have a cluster
with failover then gracefull degradation is the best. In general
panic is a very nasty failure mode and should be avoided.
That said you can configure it anyways to panic if you want,
but it would be a very bad default.
See also Linus' or hpa's statement on the topic.
> no testing,
There's an extensive test suite in mce-test.git
We did a lot of testing with these separate test suites and also
some other tests. For much more it needs actual users pounding on it, and that
can be only adequately done in mainline.
That said the real tests of this can be only done with test suites
really, these errors tend to not happen quickly.
> integration shakedown, no builds on non-x86 boxes, no work with other
> arch maintainers who have similar abilities and needs.
We did build tests on ia64 and power and it was reviewed by Tony for IA64.
The ia64 specific code is not quite ready yet, but will come at some point.
I don't think it's a requirement for merging to have PPC64 support.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/