Page MenuHomeFreeBSD

libc: add LIBC_MALLOC option
ClosedPublic

Authored by brooks on Aug 30 2023, 9:57 PM.
Tags
None
Referenced Files
F86590369: D41660.id.diff
Sat, Jun 22, 5:01 PM
Unknown Object (File)
Fri, Jun 21, 8:22 PM
Unknown Object (File)
Fri, Jun 21, 11:50 AM
Unknown Object (File)
Fri, Jun 21, 11:45 AM
Unknown Object (File)
Fri, Jun 21, 11:35 AM
Unknown Object (File)
Thu, Jun 13, 12:38 AM
Unknown Object (File)
May 5 2024, 3:04 AM
Unknown Object (File)
May 5 2024, 2:58 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.