Re: [PATCH 3/4] RAS: Add a Corrected Errors Collector

From: Borislav Petkov
Date: Thu Mar 23 2017 - 13:29:13 EST


On Thu, Mar 23, 2017 at 10:20:31AM -0700, Luck, Tony wrote:
> It can happen if Linux didn't actually take the page offline
> (because it was a kernel page). The CEC code only knows that
> it queued this page to be taken offline ... and has no way
> to know if that succeeded or not.

Right, that's the case when the offlining fails for whatever reason.

> So is it worth keeping track of the page numbers that we
> tried to offline? If they show up again we shouldn't add
> them back into the array.

Meh, I don't like the idea of keeping an evergrowing list of PFNs we
can't do anything about anyway.

And actually, you want the kernel to keep complaining about not being
able to offline those because then admins should consider speeding up
the arrival of the maintenance window - the kernel memory itself is
going sick so that not even RAS actions help here.

I'm wondering if we should make the offlining code dump a more
comprehensible message with hints what to do...

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.