Armin Kuster
68814f4ff5
jemalloc: set precise BSD license
...
"BSD" is ambiguous, use the precise licenses BSD-3-Clause
Signed-off-by: Armin Kuster <akuster808@gmail.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-09-24 08:12:35 -07:00
Mingli Yu
a88aa7fb42
jemalloc: improve reproducibility
...
Remove build host info from config file to improve reproducibility.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-25 08:17:04 -07:00
Mingli Yu
71c5cc44c7
jemalloc: improve the ptest output
...
Previouly we only show the output of each text program, actually
each test program includes serveral test cases. Improve the ptest
script to show the output of each test case.
Before:
# ./run-ptest
[snip]
PASS: tests/integration/MALLOCX_ARENA
PASS: tests/integration/aligned_alloc
[snip]
After:
# ./run-ptest
[snip]
PASS: test_MALLOCX_ARENA (non-reentrant)
PASS: test_MALLOCX_ARENA (libc-reentrant)
PASS: test_MALLOCX_ARENA (arena_new-reentrant)
PASS: test_alignment_errors (non-reentrant)
PASS: test_alignment_errors (libc-reentrant)
PASS: test_alignment_errors (arena_new-reentrant)
PASS: test_oom_errors (non-reentrant)
PASS: test_oom_errors (libc-reentrant)
PASS: test_oom_errors (arena_new-reentrant)
PASS: test_alignment_and_size (non-reentrant)
PASS: test_alignment_and_size (libc-reentrant)
PASS: test_alignment_and_size (arena_new-reentrant)
PASS: test_zero_alloc (non-reentrant)
PASS: test_zero_alloc (libc-reentrant)
PASS: test_zero_alloc (arena_new-reentrant)
[snip]
Signed-off-by: Mingli Yu <mingli.yu@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-12 17:56:01 -07:00
Mingli Yu
61638bdba3
jemalloc: add ptest support
...
Add ptest support.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-11 10:23:54 -07:00
Mingli Yu
369fd1efe9
jemalloc: fix the race during do_install
...
Fixes:
| TOPDIR/tmp-glibc/hosttools/install: cannot stat 'doc/jemalloc.3': No such file or directory
| make: *** [Makefile:513: install_doc_man] Error 1
Signed-off-by: Mingli Yu <mingli.yu@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-11 10:23:54 -07:00
Khem Raj
a1489b3db0
jemalloc: Fix build on musl
...
Fixes
In file included from include/jemalloc/internal/jemalloc_preamble.h:21:
include/jemalloc/internal/../jemalloc.h:235:28: error: exception specification in declaration does not match previous declaration
void JEMALLOC_NOTHROW *je_aligned_alloc(size_t alignment,
^
Signed-off-by: Khem Raj <raj.khem@gmail.com >
Cc: Mingli Yu <mingli.yu@windriver.com >
2021-08-06 20:38:40 -07:00
Mingli Yu
7badffb478
jemalloc: add new recipe
...
jemalloc is a general purpose malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com >
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2021-08-03 08:53:04 -07:00