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