aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.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/io.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/io.c')
-rw-r--r--erts/emulator/beam/io.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index b6b7b47bd6..13cff24b95 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -2707,7 +2707,8 @@ erts_port_link(Process *c_p, Port *prt, Eterm to, Eterm *refp)
}
void erts_init_io(int port_tab_size,
- int port_tab_size_ignore_files)
+ int port_tab_size_ignore_files,
+ int legacy_port_tab)
{
ErlDrvEntry** dp;
UWord common_element_size;
@@ -2750,7 +2751,8 @@ void erts_init_io(int port_tab_size,
(ErtsPTabElementCommon *) &erts_invalid_port.common,
port_tab_size,
common_element_size, /* Doesn't need to be excact */
- "port_table");
+ "port_table",
+ legacy_port_tab);
erts_smp_atomic_init_nob(&erts_bytes_out, 0);
erts_smp_atomic_init_nob(&erts_bytes_in, 0);