]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf: Fix cgroup scheduling in perf_enable_on_exec()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 8 Jan 2016 08:29:16 +0000 (09:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 21 Jan 2016 17:54:19 +0000 (18:54 +0100)
commit70a0165752944e0be0b1de4a9020473079962c18
tree8ff05d0e0829991eebbdcf56a7856f539e91c8c2
parent7e41d17753e6e0da55d343997454dd4fbe8d28a8
perf: Fix cgroup scheduling in perf_enable_on_exec()

There is a comment that states that perf_event_context_sched_in() will
also switch in the cgroup events, I cannot find it does so. Therefore
all the resulting logic goes out the window too.

Clean that up.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c