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, Sep 18, 11:17 AM
Unknown Object (File)
Wed, Sep 16, 8:02 AM
Unknown Object (File)
Tue, Sep 8, 4:49 PM
Unknown Object (File)
Tue, Sep 8, 3:56 PM
Unknown Object (File)
Mon, Sep 7, 3:46 PM
Unknown Object (File)
Thu, Sep 3, 12:45 PM
Unknown Object (File)
Aug 28 2026, 10:54 AM
Unknown Object (File)
Aug 25 2026, 6:46 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
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.