Re: [PATCH v6 2/2] x86/MCE/AMD: Fix memory leak when `threshold_create_bank()` fails

From: Borislav Petkov
Date: Sun Apr 03 2022 - 14:47:22 EST


On Mon, Apr 04, 2022 at 12:45:04AM +0700, Ammar Faizi wrote:
> > Yazen, Borislav, please take a deeper look on this again. I will send
> > a v7 revision to really make it simpler by moving that "per-CPU var write"
> > before the loop.
>
> (only if it's really safe)

Don't bother - I've discussed it with tglx offlist. The current solution
remains.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette