RE: [PATCH RESEND 4/5] x86/MCE: Make number of MCA banks per_cpu

From: Luck, Tony
Date: Mon Apr 08 2019 - 16:42:41 EST


> Actually, it should not be exported at all. A function returning the num
> banks is better instead.

Are all the places it is used in non-pre-emptible sections of code? Looping
in the CMCI and #MC handlers should be fine. But do we need get_cpu()/put_cpu()
in any places?

-Tony