• P
    perf: Fix cgroup scheduling in perf_enable_on_exec() · 70a01657
    Peter Zijlstra 提交于
    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: NPeter 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: NIngo Molnar <mingo@kernel.org>
    70a01657
core.c 218.8 KB