perf: Robustify task_function_call()
authorPeter Zijlstra <[email protected]>
Wed, 24 Feb 2016 17:45:51 +0000 (18:45 +0100)
committerIngo Molnar <[email protected]>
Thu, 25 Feb 2016 07:44:29 +0000 (08:44 +0100)
commit0da4cf3e0a68c97ef811569804616a811f786729
tree89499f67352a9c6f56b41c3ae444c15b7da4c88e
parenta096309bc4677f60caa8e93fcc613a55073c51d4
perf: Robustify task_function_call()

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: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/events/core.c