• Peter Zijlstra's avatar
    perf: Robustify task_function_call() · 0da4cf3e
    Peter Zijlstra authored
    Since there is no serialization between task_function_call() doing
    task_curr() and the other CPU doing context switches, we could end
    up not sending an IPI even if we had to.
    
    And I'm not sure I still buy my own argument we're OK.
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: dvyukov@google.com
    Cc: eranian@google.com
    Cc: oleg@redhat.com
    Cc: panand@redhat.com
    Cc: sasha.levin@oracle.com
    Cc: vince@deater.net
    Link: http://lkml.kernel.org/r/20160224174948.340031200@infradead.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    0da4cf3e
core.c 222 KB