diff options
author | Lukas Larsson <[email protected]> | 2019-01-07 14:38:48 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-01-18 14:59:04 +0100 |
commit | adec898daf9223484f5900f7d247cbaff6f4a11b (patch) | |
tree | 62ec41d2dbec4c964ca5fbb3d10b99a74bd3aefe /lib | |
parent | be39c49819ea2031f7d11647f34a3519198932e8 (diff) | |
download | otp-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 'lib')
0 files changed, 0 insertions, 0 deletions