diff options
author | Rickard Green <[email protected]> | 2013-05-05 19:47:05 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-05-17 11:00:48 +0200 |
commit | 5c039a1fb4979314912dc3af6626d8d7a1c73993 (patch) | |
tree | 91b082ab3f3234e52f59ff689ac772bb93069b85 /erts/emulator/beam/erl_process.c | |
parent | ad7231b1b5227f2ba9baa58c1c436ff9a95d2c67 (diff) | |
download | otp-5c039a1fb4979314912dc3af6626d8d7a1c73993.tar.gz otp-5c039a1fb4979314912dc3af6626d8d7a1c73993.tar.bz2 otp-5c039a1fb4979314912dc3af6626d8d7a1c73993.zip |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index f9ef4eac65..5cf18735fd 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; |