aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-05-21 07:44:45 +0200
committerJohn Högberg <[email protected]>2018-05-21 07:44:45 +0200
commit254c4a5615d7bf52acec02437fab8c771fc46a8f (patch)
tree2eea99124006a1eb9af458dda83f8f25354235ed /erts/emulator
parent26c0970dc23da609a51a7ca4aa3d8826d1c8c661 (diff)
downloadotp-254c4a5615d7bf52acec02437fab8c771fc46a8f.tar.gz
otp-254c4a5615d7bf52acec02437fab8c771fc46a8f.tar.bz2
otp-254c4a5615d7bf52acec02437fab8c771fc46a8f.zip
Fix deadlock in run queue evacuation
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 85c3259d1b..ee6d56b5d7 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -4513,7 +4513,7 @@ evacuate_run_queue(ErtsRunQueue *rq,
erts_smp_runq_unlock(to_rq);
smp_notify_inc_runq(to_rq);
- erts_smp_runq_lock(to_rq);
+ erts_smp_runq_lock(rq);
}
if (rq->ports.start) {