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)
Thu, Nov 7, 6:19 PM
Unknown Object (File)
Wed, Nov 6, 8:18 AM
Unknown Object (File)
Mon, Nov 4, 11:01 AM
Unknown Object (File)
Mon, Nov 4, 11:01 AM
Unknown Object (File)
Mon, Nov 4, 11:01 AM
Unknown Object (File)
Mon, Nov 4, 11:01 AM
Unknown Object (File)
Mon, Nov 4, 11:01 AM
Unknown Object (File)
Mon, Nov 4, 10:57 AM
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.