diff options
author | Sverker Eriksson <[email protected]> | 2019-05-06 16:51:07 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-05-06 16:51:07 +0200 |
commit | e07875f133d9723610e4e26e1dd9d94adc645a1a (patch) | |
tree | 1988f5c077ee720c2b160dd8818bf7c2ce471cc8 /erts/emulator/beam/beam_emu.c | |
parent | 5e639dba012a2701eaf74cbbbf0cdc301c070266 (diff) | |
parent | 70dbf671a8196110d2aee2e7507afc2c2c75183f (diff) | |
download | otp-e07875f133d9723610e4e26e1dd9d94adc645a1a.tar.gz otp-e07875f133d9723610e4e26e1dd9d94adc645a1a.tar.bz2 otp-e07875f133d9723610e4e26e1dd9d94adc645a1a.zip |
Merge branch 'sverker/process_info-reductions-fix/OTP-15793' into maint
* sverker/process_info-reductions-fix/OTP-15793:
erts: Force process_info(reductions) as signal
erts: Fix another bug in process_info(reductions)
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 10d70a96e8..3af0838794 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -3277,7 +3277,7 @@ erts_current_reductions(Process *c_p, Process *p) } else { reds_left = c_p->fcalls; } - return REDS_IN(c_p) - reds_left; + return REDS_IN(c_p) - reds_left - erts_proc_sched_data(p)->virtual_reds; } int |