linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Fix perf cgroup problem 0/2]
@ 2025-05-14  6:47 Luo Gengkun
  2025-05-14  6:47 ` [PATCH Fix perf cgroup problem 1/2] perf/core: Fix nr_cgroups/cpuctx->cgrp is not updated correctly Luo Gengkun
  2025-05-14  6:47 ` [PATCH Fix perf cgroup problem 2/2] perf/core: Fix WARN_ON_ONCE(cpuctx->ctx.nr_cgroups == 0) in perf_cgroup_switch Luo Gengkun
  0 siblings, 2 replies; 3+ messages in thread
From: Luo Gengkun @ 2025-05-14  6:47 UTC (permalink / raw)
  To: peterz
  Cc: mingo, acme, namhyung, mark.rutland, alexander.shishkin, jolsa,
	irogers, adrian.hunter, kan.liang, yeoreum.yun, linux-perf-users,
	linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-14  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-14  6:47 [PATCH Fix perf cgroup problem 0/2] Luo Gengkun
2025-05-14  6:47 ` [PATCH Fix perf cgroup problem 1/2] perf/core: Fix nr_cgroups/cpuctx->cgrp is not updated correctly Luo Gengkun
2025-05-14  6:47 ` [PATCH Fix perf cgroup problem 2/2] perf/core: Fix WARN_ON_ONCE(cpuctx->ctx.nr_cgroups == 0) in perf_cgroup_switch Luo Gengkun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).