diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2018-12-11 22:23:22 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2018-12-14 14:44:59 +0000 |
commit | 830eec24673a982bff4df85ba4d17e4a6ff201a7 (patch) | |
tree | d60d2466da7c41d18a77774ea42b53ff3c749c19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4fb68e12f2cf93176f1b7542c754a4d0413eb290 (diff) |
ARM: versatile: convert boot_lock to raw
The arm boot_lock is used by the secondary processor startup code. The locking
task is the idle thread, which has idle->sched_class == &idle_sched_class.
idle_sched_class->enqueue_task == NULL, so if the idle task blocks on the
lock, the attempt to wake it when the lock becomes available will fail:
try_to_wake_up()
...
activate_task()
enqueue_task()
p->sched_class->enqueue_task(rq, p, flags)
Fix by converting boot_lock to a raw spin lock.
Cc: Linus Walleij <[email protected]>
Signed-off-by: Frank Rowand <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions