On Mon, Jul 21, 2014 at 10:03:04PM +0000, Luck, Tony wrote: > > And drop all the homegrown other stuff like mce_ring and all? > > mce_ring should be easy ... the "mce" structure has the address > from which we can easily get the pfn to pass into the action-optional > recovery path. Only thing missing is a direct indication that this mce > does contain an AO error that needs to be processed. We could > re-invoke mce_severity() to figure it out again - or just add a flag > somewhere. Right, so if we're going to clean up this mess, I think we should strive for having a single ring buffer which contains all the MCEs and which we can iterate over at leisure, either in IRQ context if some of them have been reported through real exceptions or in process context if they're simple CEs. Once they've been eaten by something, we simply remove them from that buffer and that's it. But sure, one lockless buffer which works in all contexts would be much better than growing stuff here and there with different semantics and context usage. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html