[PATCH 6.5 031/550] perf: Optimize perf_cgroup_switch()