Page MenuHomeFreeBSD

jemalloc: avoid clash with C23 unreachable() macro
ClosedPublic

Authored by fuz on Nov 27 2025, 10:17 PM.
Tags
None
Referenced Files
F167888823: D53968.id167216.diff
Tue, Aug 25, 6:46 AM
Unknown Object (File)
Sun, Aug 23, 10:46 PM
Unknown Object (File)
Thu, Aug 20, 8:09 PM
Unknown Object (File)
Thu, Aug 13, 1:10 AM
Unknown Object (File)
Tue, Aug 11, 11:25 PM
Unknown Object (File)
Mon, Aug 10, 12:36 PM
Unknown Object (File)
Sun, Aug 9, 3:54 AM
Unknown Object (File)
Sat, Aug 8, 5:56 AM
Subscribers
None

Details

Summary

This avoids a clash with the new macro in <stddef.h> introduced in D53967

Test Plan

buildworld runs fine with this change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 68905
Build 65788: arc lint + arc unit

Event Timeline

fuz requested review of this revision.Nov 27 2025, 10:17 PM
fuz created this revision.

Ideally, you'd upstream this too...

This revision is now accepted and ready to land.Nov 27 2025, 10:44 PM

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

No. If it's still there i should delete it.

Approved

In D53968#1233240, @imp wrote:

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

No. If it's still there i should delete it.

It's still there.