[PATCH v1] perf cpumap: Increment reference count for online cpumap
Namhyung Kim
namhyung at kernel.org
Thu Mar 20 09:00:41 PDT 2025
On Tue, 18 Mar 2025 10:19:14 -0700, Ian Rogers wrote:
> Thomas Richter <tmricht at linux.ibm.com> reported a double put on the
> cpumap for the placeholder core PMU:
> https://lore.kernel.org/lkml/20250318095132.1502654-3-tmricht@linux.ibm.com/
> Requiring the caller to get the cpumap is not how these things are
> usually done, switch cpu_map__online to do the get and then fix up any
> use cases where a put is needed.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
More information about the linux-arm-kernel
mailing list