Re: [PATCH 3/6] x86/mbm: Intel Memory B/W Monitoring enumeration and init
From: Thomas Gleixner
Date: Wed Mar 02 2016 - 03:06:10 EST
On Tue, 1 Mar 2016, Vikas Shivappa wrote:
> @@ -1397,8 +1543,11 @@ static int __init intel_cqm_init(void)
> __perf_cpu_notifier(intel_cqm_cpu_notifier);
> out:
> cpu_notifier_register_done();
> - if (ret)
> + if (ret) {
> + mbm_enabled = false;
> + cqm_enabled = false;
> kfree(str);
Leaks mbm_local and mbm_total ....
> + }
>
> return ret;
> }
> --
> 1.9.1
>
>