aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_lock_check.c
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-01-19 16:11:14 +0100
committerBjörn Gustavsson <[email protected]>2010-03-10 14:24:38 +0100
commit775191a1e033b4b93a4615c629d90fdb82f39a98 (patch)
tree456198a1afb2e8f9f762706215b9b3629e2b1528 /erts/emulator/beam/erl_lock_check.c
parent5a8e6c4183a30f3b10de22fa5ba80950dfb2adea (diff)
downloadotp-775191a1e033b4b93a4615c629d90fdb82f39a98.tar.gz
otp-775191a1e033b4b93a4615c629d90fdb82f39a98.tar.bz2
otp-775191a1e033b4b93a4615c629d90fdb82f39a98.zip
Add a custom mmap wrapper to force heaps into the lower address range
The free list is still rudimentary for the mmap wrapper and a better implementation will be needed for production quality.
Diffstat (limited to 'erts/emulator/beam/erl_lock_check.c')
-rw-r--r--erts/emulator/beam/erl_lock_check.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_lock_check.c b/erts/emulator/beam/erl_lock_check.c
index 4858be1b75..6ff5c1b9da 100644
--- a/erts/emulator/beam/erl_lock_check.c
+++ b/erts/emulator/beam/erl_lock_check.c
@@ -155,6 +155,9 @@ static erts_lc_lock_order_t erts_lock_order[] = {
{ "fix_alloc", "index" },
{ "alcu_allocator", "index" },
{ "mseg", NULL },
+#ifdef HALFWORD_HEAP
+ { "pmmap", NULL },
+#endif
#ifdef ERTS_SMP
{ "port_task_pre_alloc_lock", "address" },
{ "port_taskq_pre_alloc_lock", "address" },