Re: [RFC][PATCH 6/6] x86/mce: Dont use noinstr for now

From: Boris Petkov
Date: Wed Jan 06 2021 - 09:58:43 EST


On January 6, 2021 3:36:25 PM GMT+01:00, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>Instead of using noinstr, kill instrumentation for all of mce/. This
>switches MCE over to a best-effort but non-validated mode. Doing
>better will require a significant investment of time and effort.

Another thing that we could do is carve out only the stuff which needs to be noinstr into a separate compilation unit and disable tracing only for that while keeping the rest traceable. Need to try it to see how ugly it'll get...

--
Sent from a small device: formatting sux and brevity is inevitable.