#
09e32b2f |
| 01-Sep-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: add LIBC_MALLOC option
This will enable alternative mallocs to be included in the tree and selected by setting LIBC_MALLOC. As there is only one today (jemalloc) this option does nothing, but
libc: add LIBC_MALLOC option
This will enable alternative mallocs to be included in the tree and selected by setting LIBC_MALLOC. As there is only one today (jemalloc) this option does nothing, but we expect to add other implementations in the future. This will also reduce diffs to CheriBSD.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D41660
show more ...
|
#
c5f49ece |
| 16-Aug-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: regoranize malloc build
Create a stdlib/malloc to hold the definition of the malloc interface (e.g., the Symbol.map file) and make jemalloc a subdirectory. This will make it easier to integra
libc: regoranize malloc build
Create a stdlib/malloc to hold the definition of the malloc interface (e.g., the Symbol.map file) and make jemalloc a subdirectory. This will make it easier to integrate alternative allocators such as snmalloc while making it clear that the current jemalloc symbols are the FreeBSD API/ABI (for better or worse).
Suggested by: jrtc27 Reviewed by: jrtc27, emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D41457
show more ...
|