• Peter Zijlstra's avatar
    perf: Specialize perf_event_exit_task() · 32132a3d
    Peter Zijlstra authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
    32132a3d
core.c 220 KB