[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250514064758.4156497-1-luogengkun@huaweicloud.com>
Date: Wed, 14 May 2025 06:47:56 +0000
From: Luo Gengkun <luogengkun@...weicloud.com>
To: peterz@...radead.org
Cc: mingo@...hat.com,
acme@...nel.org,
namhyung@...nel.org,
mark.rutland@....com,
alexander.shishkin@...ux.intel.com,
jolsa@...nel.org,
irogers@...gle.com,
adrian.hunter@...el.com,
kan.liang@...ux.intel.com,
yeoreum.yun@....com,
linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH Fix perf cgroup problem 0/2]
Fixed the issue that nr_cgroup and cpuctx->cgrp of the perf cgroup event
are not correctly updated. And Fixed the possible concurrency of
perf_cgroup_switch and perf_cgroup_event_disable.
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 | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
--
2.34.1
Powered by blists - more mailing lists