summaryrefslogtreecommitdiff
path: root/net/atm/svc.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-10-28 09:49:37 -0700
committerIngo Molnar <mingo@kernel.org>2017-10-30 11:58:51 +0100
commitbe96b316deff35e119760982c43af74e606fa143 (patch)
tree0751806ebea8af27293e0892843e06e21a5d97f0 /net/atm/svc.c
parent4139433c9a81a6ee21e5293989122c203a14a6d8 (diff)
perf/cgroup: Fix perf cgroup hierarchy support
The following commit: 864c2357ca89 ("perf/core: Do not set cpuctx->cgrp for unscheduled cgroups") made list_update_cgroup_event() skip setting cpuctx->cgrp if no cgroup event targets %current's cgroup. This breaks perf_event's hierarchical support because events which target one of the ancestors get ignored. Fix it by using cgroup_is_descendant() test instead of equality. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: David Carrillo-Cisneros <davidcc@google.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: kernel-team@fb.com Cc: stable@vger.kernel.org # v4.9+ Fixes: 864c2357ca89 ("perf/core: Do not set cpuctx->cgrp for unscheduled cgroups") Link: http://lkml.kernel.org/r/20171028164237.GA972780@devbig577.frc2.facebook.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/atm/svc.c')
0 files changed, 0 insertions, 0 deletions