Commit caf65d1
committed
llvm-project: link against jemalloc
The following symbols from musl's malloc implementation were appearing
in a perf profile of a kernel build (from stage 5, which isn't landed
yet, see #37).
Samples: 13M of event 'cycles:ppu', Event count (approx.): 9699067643159
Overhead Shared Object Symbol
+ 1.72% clang [.] __libc_malloc_impl
0.80% clang [.] __libc_free
+ 0.67% clang [.] alloc_slot
+ 0.65% clang [.] get_meta
Replace musl's malloc with jemalloc.
Fixes #361 parent ba5054b commit caf65d1
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
63 | 77 | | |
64 | 78 | | |
65 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments