aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-05-30 14:56:31 +0200
committerRickard Green <[email protected]>2013-05-30 14:56:31 +0200
commite794251f8e54d6697e1bcc360471fd76b20c7748 (patch)
tree0a776b2b9c22622e09b7381eea15e106d5da7e90 /erts/emulator/beam/erl_process.c
parent22685099ace9802016bf6203c525702084717d72 (diff)
parent5c039a1fb4979314912dc3af6626d8d7a1c73993 (diff)
downloadotp-e794251f8e54d6697e1bcc360471fd76b20c7748.tar.gz
otp-e794251f8e54d6697e1bcc360471fd76b20c7748.tar.bz2
otp-e794251f8e54d6697e1bcc360471fd76b20c7748.zip
Merge branch 'rickard/ptab-id-alloc/OTP-11077' into maint
* rickard/ptab-id-alloc/OTP-11077: Introduce a better id allocation algorithm for PTabs
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 7415a5721f..bb3e787401 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -485,7 +485,7 @@ release_process(void *vproc)
/* initialize the scheduler */
void
-erts_init_process(int ncpu, int proc_tab_size)
+erts_init_process(int ncpu, int proc_tab_size, int legacy_proc_tab)
{
#ifdef ERTS_SMP
@@ -505,7 +505,8 @@ erts_init_process(int ncpu, int proc_tab_size)
(ErtsPTabElementCommon *) &erts_invalid_process.common,
proc_tab_size,
sizeof(Process),
- "process_table");
+ "process_table",
+ legacy_proc_tab);
last_reductions = 0;
last_exact_reductions = 0;