[PATCH v2 0/2] Fix perf cgroup problem

From: Luo Gengkun
Date: Tue Jun 03 2025 - 23:24:54 EST


---
Changes in v2:
1. First patch adapted based on the lastest mainline code
2. update commit message for the second patch.
Link to v1: https://lore.kernel.org/all/20250514064758.4156497-1-luogengkun@xxxxxxxxxxxxxxx/

Luo Gengkun (2):
perf/core: Fix nr_cgroups/cpuctx->cgrp is not updated correctly
perf/core: Fix WARN_ON_ONCE(cpuctx->ctx.nr_cgroups == 0) in
perf_cgroup_switch

kernel/events/core.c | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)

--
2.34.1