Re: [PATCH] MCE: support cpu notification chain

Jan Beulich
Thu, 25 Oct 2012 14:10:09 -0000

>>> On 25.10.12 at 15:54, Christoph Egger
<Christoph.Egger@amd.com> wrote:
> Add support for cpu notification chain.
> This is useful with nested virtualization when Xen
> runs as l1 hypervisor.
> This cleans up mce initialization cleanup as a side-effect.

Did you notice the fix I had done to your earlier patch before
committing c/s 26106:1883c1d29de9? With the change here,
mce_clear_banks will get allocated twice (once in generic code
and once in AMD specific code), leaking one instance.

Jan