Re: __hw_perf_counter_init() on x86

David Miller
2009-09-09T08:29:50Z

From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Wed, 09 Sep 2009 10:04:47 +0200

> Subject: perf_counter: x86: Fix PMU resource leak
>
> Dave noticed that we leak the PMU resource reservations when we fail the
> hardware counter init.
>
> Reported-by: David Miller <davem@davemloft.net>
> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>

Looks great.

Acked-by: David S. Miller <davem@davemloft.net>