Page MenuHomeFreeBSD

libc: add LIBC_MALLOC option
ClosedPublic

Authored by brooks on Aug 30 2023, 9:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 12:53 PM
Unknown Object (File)
Thu, Dec 5, 4:00 AM
Unknown Object (File)
Fri, Nov 29, 2:31 PM
Unknown Object (File)
Nov 25 2024, 4:37 AM
Unknown Object (File)
Nov 24 2024, 1:24 AM
Unknown Object (File)
Nov 23 2024, 6:32 AM
Unknown Object (File)
Nov 22 2024, 3:33 PM
Unknown Object (File)
Nov 21 2024, 4:44 PM
Subscribers

Details

Summary

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 will reduce diffs to CheriBSD.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Add tools/build/options/LIBC_MALLOC

Remove .It from description

Not just reduce diffs with CheriBSD, we want to support alternate mallocs in FreeBSD

emaste added inline comments.
tools/build/options/LIBC_MALLOC
10

Maybe add a note about other options being introduced in the future? Else it seems odd that we have an option that can only take one value.

This revision is now accepted and ready to land.Aug 31 2023, 11:12 PM

Add note about future plans

This revision now requires review to proceed.Aug 31 2023, 11:55 PM
This revision is now accepted and ready to land.Sep 1 2023, 12:09 AM
This revision now requires review to proceed.Sep 1 2023, 12:29 AM
This revision is now accepted and ready to land.Sep 1 2023, 12:58 AM
This revision was automatically updated to reflect the committed changes.