Files
twx-linux/kernel
Barret Rhoden 9bf3b3649d perf: Add cond_resched() to task_function_call()
commit 2ed6edd33a upstream.

Under rare circumstances, task_function_call() can repeatedly fail and
cause a soft lockup.

There is a slight race where the process is no longer running on the cpu
we targeted by the time remote_function() runs.  The code will simply
try again.  If we are very unlucky, this will continue to fail, until a
watchdog fires.  This can happen in a heavily loaded, multi-core virtual
machine.

Reported-by: syzbot+bb4935a5c09b5ff79940@syzkaller.appspotmail.com
Signed-off-by: Barret Rhoden <brho@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200414222920.121401-1-brho@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-20 10:24:13 +02:00
..
…
2019-11-28 18:28:55 +01:00
…
…
…
…
…
…
2020-04-02 17:20:28 +02:00
…
2018-08-03 07:55:12 +02:00
…
…
2020-04-02 17:20:26 +02:00
…
…
…
…
…
2020-04-24 07:58:54 +02:00
…
…
2018-08-03 07:55:24 +02:00
…
2020-01-12 11:24:12 +01:00
…
2018-05-09 09:50:20 +02:00
…
…
…
…
…