Re: [RFC] x86, NMI, Treat unknown NMI as hardware error

From: Ingo Molnar
Date: Fri May 13 2011 - 11:20:51 EST



* huang ying <huang.ying.caritas@xxxxxxxxx> wrote:

> > What should be done instead is to add an event for unknown NMIs, which can
> > then be processed by the RAS daemon to implement policy.
> >
> > By using 'active' event filters it could even be set on a system to panic
> > the box by default.
>
> If there is real fatal hardware error, maybe we have no luxury to go from NMI
> handler to user space RAS daemon to determine what to do. System may explode,
> bad data may go to disk before that.

That is why i suggested:

> > By using 'active' event filters it could even be set on a system to panic
> > the box by default.

event filters are evaluated in the kernel, so the panic could be instantaneous,
without the event having to reach user-space.

Thanks,

Ingo
--
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/