]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Specialize perf_event_exit_task()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 11 Jan 2016 14:40:59 +0000 (15:40 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 21 Jan 2016 17:54:24 +0000 (18:54 +0100)
commit176296e6c38566505f3c5dac410aae8c348f5bd3
treee7d34248918aa1fe8ae6f4df6d44714b1867618b
parent7a0096b9f66ede93c132b06defe8c5f5e514ba8d
perf: Specialize perf_event_exit_task()

The perf_remove_from_context() usage in __perf_event_exit_task() is
different from the other usages in that this site has already
detached and scheduled out the task context.

This will stand in the way of stronger assertions checking the (task)
context scheduling invariants.

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