Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-18 | Update copyright year | Henrik Nord | |
2018-06-04 | erts: Refactor usage of am_atom_put to ERTS_MAKE_AM | Sverker Eriksson | |
and let compiler determine string lengths. These were actually wrong in erl_db.c: count_trap\0 replace_tra select_tra | |||
2018-03-05 | erts: Remove unused "executable" feature from ErtsMemMapper | Sverker Eriksson | |
No longer need for super carrier allocating executable memory. | |||
2018-03-05 | erts: Remove hipe amd64 code super carrier (exec_mmap) | Sverker Eriksson | |
2018-01-30 | erts: Remove low memory demand for hipe amd64 code | Sverker Eriksson | |
2017-07-17 | erts: Replace usage of all erts_smp prefixes to just erts | Lukas Larsson | |
2017-07-06 | Allow toggling lock counting at runtime | John Högberg | |
The implementation is still hidden behind ERTS_ENABLE_LOCK_COUNT, and all categories are still enabled by default, but the actual counting can be toggled at will. OTP-13170 | |||
2016-11-22 | Merge branch 'maint' | Sverker Eriksson | |
2016-11-17 | erts: Fix all -Wundef errors | Sverker Eriksson | |
2016-11-17 | erts: Refactor crash dumping with cbprintf | Sverker Eriksson | |
Instead of passing around a file descriptor use a function pointer to facilitate more advanced backend write logic such as size limitation or compression. | |||
2016-10-14 | erts: Enable exec_alloc for all hipe architectures | Sverker Eriksson | |
For non-amd64 it's a "normal" allocator with a wrapper around mseg_alloc to call mprotect(PROT_EXEC). | |||
2016-06-10 | Disregard MAP_NORESERVE for FreeBSD | Kenji Rikitake | |
A fix for running 19.0-rc2 on FreeBSD with HiPE enabled. * erl_mmap.h: disregard MAP_NORESERVE for FreeBSD MAP_NORESERVE is undefined in FreeBSD 10.x and later. This is to enable 64bit HiPE experimentally on FreeBSD. Note that on FreeBSD MAP_NORESERVE was "never implemented" even before 11.x (and the flag does not exist in /usr/src/sys/vm/mmap.c of 10.3-STABLE r301478 either), and HiPE was working on OTP 18.3.3, so mandating MAP_NORESERVE on FreeBSD might not be needed. See the following message on how MAP_NORESERVE was treated on FreeBSD: <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20150202/122958.html> * erl_mmap.c: disable MAP_NORESERVE for FreeBSD * See also <https://github.com/erlang/otp/pull/925/commits/b02ce940c8738785ad018c9f758ca0d05d256bbb> | |||
2016-05-04 | erts: Add macro HAVE_ERTS_MMAP | Sverker Eriksson | |
and make erts_mmap unavailable at compile time if not supported. | |||
2016-04-29 | erts: Move option info for erts_mmap | Sverker Eriksson | |
from {allocator,mseg_alloc} to {allocator,erts_mmap} | |||
2016-04-20 | Merge branch 'sverker/hipe-code-alloc' | Sverker Eriksson | |
2016-04-15 | erts: Add 'exec_alloc' for hipe code | Sverker Eriksson | |
that uses its own super carrier (erts_exec_mmapper) to guarantee low addressed and executable memory (PROT_EXEC). Currently only used on x86_64 that needs low memory for HiPE/AMD64's small code model. By initializing erts_exec_mapper early we secure its low memory area before erts_literal_mmapper might steal it. | |||
2016-04-15 | erts: Make ErtsMemMapper able to map memory with PROT_EXEC | Sverker Eriksson | |
to prepare for hipe native code allocation. | |||
2016-04-15 | erts: Refactor callbacks for literal mseg alloc | Sverker Eriksson | |
Make the callbacks more general to be usable for any allocator that that uses its own ErtsMemMapper. | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-02-24 | Merge branch 'master' into sverk/master/halt-INT_MIN | Sverker Eriksson | |
2016-02-24 | erts: Change erl_exit into erts_exit | Sverker Eriksson | |
This is mostly a pure refactoring. Except for the buggy cases when calling erlang:halt() with a positive integer in the range -(INT_MIN+2) to -INT_MIN that got confused with ERTS_ABORT_EXIT, ERTS_DUMP_EXIT and ERTS_INTR_EXIT. Outcome OLD erl_exit(n, ) NEW erts_exit(n, ) ------- ------------------- ------------------------------------------- exit(Status) n = -Status <= 0 n = Status >= 0 crashdump+abort n > 0, ignore n n = ERTS_ERROR_EXIT < 0 The outcome of the old ERTS_ABORT_EXIT, ERTS_INTR_EXIT and ERTS_DUMP_EXIT are the same as before (even though their values have changed). | |||
2015-11-12 | erts: Add support for fast erts_is_literal() | Sverker Eriksson | |
2015-11-12 | erts: Refactor erl_mmap to allow several mapper instances | Sverker Eriksson | |
2015-09-11 | erts: Remove unused erts_have_erts_mmap | Sverker Eriksson | |
2015-06-24 | erts: Remove HALFWORD_HEAP definition | Björn-Egil Dahlberg | |
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2013-11-05 | Replace the +MMscmgc switch with +MMscrfsd | Rickard Green | |
Replaced the +MMscmgc switch with the +MMscrfsd switch. The old switch didn't reflect what it controlled. | |||
2013-10-02 | erts: Add mutex to init_atoms in erts_mmap.c | Sverker Eriksson | |
2013-10-02 | erts: Fix misc minor bugs in supercarrier initialization | Sverker Eriksson | |
2013-09-30 | erts: Add erts_mmap stats | Sverker Eriksson | |
As part of erlang:system_info({allocator,mseg_alloc}) and erl_crash.dump | |||
2013-09-30 | erts: Rename erts_bld_atom_uint_2tup_list to *_uword_* | Sverker Eriksson | |
and change from Uint to UWord values | |||
2013-09-30 | erts: Fix bug in lookup_free_seg | Sverker Eriksson | |
that could return segments that are too small after being super aligned. | |||
2013-09-30 | erts: Fix race bug in erts_munmap | Sverker Eriksson | |
Must keep mutex to serialize (un)reserve ops. | |||
2013-09-30 | erts: Add HARD_DBG_MSEG | Sverker Eriksson | |
2013-09-30 | erts: Refactor rbt_insert in erl_mmap | Sverker Eriksson | |
2013-09-30 | erts: erts_mmap improved free seg desc management | Rickard Green | |
2013-09-30 | erts: Allow page aligned erts_munmap() | Rickard Green | |
2013-09-30 | erts: Sort tree in super aligned sizes (SA_SZ_ADDR_ORDER) | Sverker Eriksson | |
2013-09-30 | erts: Add mmap argument to erts_debug:get_internal_state | Sverker Eriksson | |
2013-09-30 | erts: Improve erts_mmap out of free descriptor management | Rickard Green | |
2013-09-30 | erts: Cleanup erl_mmap | Sverker Eriksson | |
2013-09-30 | erts: Add __func__ to ERTS_ASSERT macro | Sverker Eriksson | |
2013-09-30 | erts: Optimize rb-tree operations by "caching" parent ptr | Sverker Eriksson | |
2013-09-30 | erts: Use rbt_foreach_node to check_tree | Sverker Eriksson | |
2013-09-30 | erts: Add build_free_seg_list | Sverker Eriksson | |
2013-09-30 | erts: Remove HARD_DEBUG flags for tree traversal | Sverker Eriksson | |
2013-09-30 | erts: Save one word in ErtsFreeSegDesc | Sverker Eriksson | |
by putting red/black color bit in 'parent' pointer | |||
2013-09-30 | erts: erts_mmap supercarrier management and erts_mseg usage | Rickard Green | |
* Coalescing and trimming of free segments in supercarrier * Management of super aligned and super unaligned areas in supercarrier * Management of reservation of physical memory * erts_mseg usage of erts_mmap | |||
2013-09-30 | erts: Prepare erl_mmap with tree structures for free seg storage | Sverker Eriksson | |