Page MenuHomeFreeBSD

jemalloc: avoid clash with C23 unreachable() macro
ClosedPublic

Authored by fuz on Nov 27 2025, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 13, 4:18 AM
Unknown Object (File)
Thu, Mar 12, 7:21 PM
Unknown Object (File)
Wed, Mar 11, 9:39 AM
Unknown Object (File)
Dec 19 2025, 8:10 PM
Unknown Object (File)
Dec 17 2025, 11:08 PM
Unknown Object (File)
Dec 17 2025, 12:42 PM
Unknown Object (File)
Dec 12 2025, 5:43 AM
Unknown Object (File)
Dec 10 2025, 11:45 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.