aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-03-30 18:25:20 +0200
committerRickard Green <[email protected]>2016-03-30 18:25:20 +0200
commitf0a1185b95bc8d5c20954cbf5f70767f1f354cc8 (patch)
treef5d8a406c8bf58ead51668059a0d14ac9b72103a /erts
parentdedbb2e6fc619a76407871c6880cd82d85962117 (diff)
downloadotp-f0a1185b95bc8d5c20954cbf5f70767f1f354cc8.tar.gz
otp-f0a1185b95bc8d5c20954cbf5f70767f1f354cc8.tar.bz2
otp-f0a1185b95bc8d5c20954cbf5f70767f1f354cc8.zip
Fix scheduling of system tasks
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/erl_process.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 1fb8502ebe..4530317710 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -6684,10 +6684,8 @@ schedule_process_sys_task(Process *p, erts_aint32_t prio, ErtsProcSysTask *st)
erts_aint32_t e;
n = e = a;
- if (a & ERTS_PSFLG_FREE) {
- res = 0;
+ if (a & ERTS_PSFLG_FREE)
goto cleanup; /* We don't want to schedule free processes... */
- }
enqueue = ERTS_ENQUEUE_NOT;
n |= ERTS_PSFLG_ACTIVE_SYS;