diff options
author | Rickard Green <[email protected]> | 2016-05-27 16:19:08 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-05-31 15:38:31 +0200 |
commit | c8bd15f0e5539ec3056565b535ff6db389f42a6b (patch) | |
tree | a7ddf65c19a0b22f2a06e52e94e05ea245568f38 /erts/emulator/hipe/hipe_mode_switch.c | |
parent | 60557173f8a7bd0d4deafdb2b3e066899c586f56 (diff) | |
download | otp-c8bd15f0e5539ec3056565b535ff6db389f42a6b.tar.gz otp-c8bd15f0e5539ec3056565b535ff6db389f42a6b.tar.bz2 otp-c8bd15f0e5539ec3056565b535ff6db389f42a6b.zip |
Move dirty reduction count to erts_dirty_process_main()
Diffstat (limited to 'erts/emulator/hipe/hipe_mode_switch.c')
-rw-r--r-- | erts/emulator/hipe/hipe_mode_switch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_mode_switch.c b/erts/emulator/hipe/hipe_mode_switch.c index 884331e969..ed95045292 100644 --- a/erts/emulator/hipe/hipe_mode_switch.c +++ b/erts/emulator/hipe/hipe_mode_switch.c @@ -547,7 +547,7 @@ Process *hipe_mode_switch(Process *p, unsigned cmd, Eterm reg[]) p->flags &= ~F_HIPE_MODE; ERTS_SMP_UNREQ_PROC_MAIN_LOCK(p); - p = schedule(p, reds_in - p->fcalls); + p = erts_schedule(NULL, p, reds_in - p->fcalls); ERTS_SMP_REQ_PROC_MAIN_LOCK(p); ASSERT(!(p->flags & F_HIPE_MODE)); #ifdef ERTS_SMP |