aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-01-07 14:38:48 +0100
committerLukas Larsson <[email protected]>2019-01-18 14:59:04 +0100
commitadec898daf9223484f5900f7d247cbaff6f4a11b (patch)
tree62ec41d2dbec4c964ca5fbb3d10b99a74bd3aefe /erts/emulator/beam/erl_process.h
parentbe39c49819ea2031f7d11647f34a3519198932e8 (diff)
downloadotp-adec898daf9223484f5900f7d247cbaff6f4a11b.tar.gz
otp-adec898daf9223484f5900f7d247cbaff6f4a11b.tar.bz2
otp-adec898daf9223484f5900f7d247cbaff6f4a11b.zip
erts: Use reduction based polling for starved poll-set
When the schedulers never go to sleep (and thus never polls) it may be that the fds in schedulers poll-sets are never polled. Before this commit, this was solved by starting a timer when an overload was detected. This had issues as overloads were not always detected in time. So this commit reverts to the pre OTP-21 behaviour so keep a global counter makes that the poll is called when it should.
Diffstat (limited to 'erts/emulator/beam/erl_process.h')
-rw-r--r--erts/emulator/beam/erl_process.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.h b/erts/emulator/beam/erl_process.h
index a1b029adbe..9a22858f2a 100644
--- a/erts/emulator/beam/erl_process.h
+++ b/erts/emulator/beam/erl_process.h
@@ -173,8 +173,6 @@ extern int erts_dio_sched_thread_suggested_stack_size;
(((Uint32) 1) << (ERTS_RUNQ_FLG_BASE2 + 9))
#define ERTS_RUNQ_FLG_HALTING \
(((Uint32) 1) << (ERTS_RUNQ_FLG_BASE2 + 10))
-#define ERTS_RUNQ_FLG_CHECKIO \
- (((Uint32) 1) << (ERTS_RUNQ_FLG_BASE2 + 11))
#define ERTS_RUNQ_FLG_MAX (ERTS_RUNQ_FLG_BASE2 + 12)