Re: [PATCH 6/6] mce-inject: use injected mce only during fakedhandler call

From: Ingo Molnar
Date: Tue Oct 13 2009 - 02:31:11 EST



* Huang Ying <ying.huang@xxxxxxxxx> wrote:

> I have talked with Ingo about this patch. But he has different idea
> about MCE log ring buffer and he didn't want to merge the patch even
> as an urgent bug fixes. It seems that another re-post can not convince
> him.

Correct. The fixes are beyond what we can do in .32 - and for .33 i
outlined (with a patch) that we should be using not just the ftrace
ring-buffer (like your patch did) but perf events to expose MCE events.

That brings MCE events to a whole new level of functionality.

Event injection support would be an interesting new addition to
kernel/perf_event.c: non-MCE user-space wants to inject events as well -
both to simulate rare events, and to define their own user-space events.

Is there any technical reason why we wouldnt want to take this far
superior approach?

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/