]> git.baikalelectronics.ru Git - kernel.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)
commita151e63ea9596cefd88262dcf9f9f7c49279e3ef
tree8ff05d0e0829991eebbdcf56a7856f539e91c8c2
parent53b8fc2572950d9cafb2cc97ce0218916107aad1
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