| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 03b5d1c549
Change-Id: Idbc4f9b200bc0dd71259bcfddaaf4c9e16dcdf54
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 62621531
Bug: 110158834
Test: Ran unit tests and benchmarks using libc.
Change-Id: Ie13ab8510c42f96b58496b0ab7e4f8c3a9cd2c6d
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: e569762813
Change-Id: I6faed6e791ac603d9f1437bf81b4fa5406e7c7d1
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 1077cbaffa
Change-Id: Ib668b39d55231ac0bb5279133f772dc6001bbc0f
|
| |/| |
| | |/
| | |
| | |
| | |
| | | |
am: 7eecc47efa
Change-Id: I12fa024d82b08186f604eb15389ab3d2843437bb
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This does not add any android specific changes. Those will come in a
follow-up cl.
Test: Builds, and all unit tests pass on a hikey.
Change-Id: Ibac11b324afeac93a0c93d19689be48458d56f56
|
|\|
| |
| |
| |
| |
| | |
am: 4c5028eda4
Change-Id: I84871997c1f970373b0aab4d3a7518cd527c4dbc
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Release
Bug: 62621531
Test: NA
Change-Id: Iaad80d4f23702ecadbbdc1c3606f6faf704582ef
|
| | |\ |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When configuring out-of-tree (source directory is not build directory),
the generated include files from the build directory should have higher
priority than those in the source dir.
This is especially helpful when cross-compiling.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The current wording can be taken to imply that we return tagged pointers to the
user, or otherwise rely on architectural support for them.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch allows to override the lg-vaddr values, which
are defined by the build machine's CPUID information (x86_64)
or default values (other architectures like aarch64).
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Implement a new mallctl operation that allows looking up the arena a
region of memory belongs to.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of setting a fix value of 48 allowed VA bits,
we distiguish between LP64 and ILP32.
Testsuite result with LP64:
Test suite summary: pass: 13/13, skip: 0/13, fail: 0/13
Testsuit result with ILP32:
Test suite summary: pass: 13/13, skip: 0/13, fail: 0/13
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
| | | |
| | | |
| | | | |
Related to https://github.com/jemalloc/jemalloc/issues/974
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Background threads are created without holding the global background_thread
lock, which mean paused state is possible (and fine).
|
| | | |
| | | |
| | | |
| | | |
| | | | |
If no lazy lock or background thread is enabled, avoid dlsym pthread_create on
boot.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, we would leak the extent and memory associated with a salvageable
portion of an extent that we were trying to split in three, in the case where
the first split attempt succeeded and the second failed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Right now we always make our TLS use the initial-exec model if the compiler
supports it. This change allows configure-time disabling of this setting, which
can be helpful when dynamically loading jemalloc is the only option.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
When abort_conf is set, make sure we always error out at the end of the options
processing loop.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This dodges a warning emitted by the FreeBSD system gcc when compiling
libc for architectures which don't use clang as the system compiler.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Setting extent hooks can result in initializing an unused auto arena. This is
useful to install extent hooks on auto arenas from the beginning.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Looking at the thread counts in our services, jemalloc's background thread
is useful, but mostly idle. Add a config option to tune down the number of threads.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
szind and slab bits are read on fast path, where compiler generated two memory
loads separately for them before this diff. Manually operate on the bits to
avoid the extra memory load.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Add cast since read / write has unsigned return type on windows.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
preserve_lru feature adds lots of complication, for little value.
Removing it means merged extents are re-added to the lru list, and may
take longer to madvise away than they otherwise would.
Canaries after removal seem flat for several services (no change).
|
| | | |
| | | |
| | | |
| | | |
| | | | |
1) make sure background thread 0 is always created; and 2) fix synchronization
between thread 0 and the control thread.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit ae0f5d5c3f29beb9977148dedb58575757139586.
|
| | | |
| | | |
| | | |
| | | | |
This completes the conversion; we now have only structured text output.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This was left over from a previous emitter conversion. It didn't affect the
correctness of the output.
|