[PATCH RESEND] drivers/perf: arm_pmu: avoid CPU device_node reference leak
arnd at arndb.de
Thu Oct 15 08:12:07 PDT 2015
On Monday 12 October 2015 14:48:39 Will Deacon wrote:
> of_cpu_device_node_get increments the reference count on the CPU
> device_node, so we must take care to of_node_put once we've finished
> with it.
> This patch fixes the perf IRQ probing code to avoid the leak.
> Cc: Sudeep Holla <sudeep.holla at arm.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> Arnd/Olof: Please can you take this via arm-soc? It's a non-urgent, yet
> simple fix and I don't have any other fixes queued for perf.
Seems still appropriate for 4.3, so I've put it into the fixes branch.
Thanks for the reminder,
More information about the linux-arm-kernel