]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make include/malloc.h usable again.
authorkib <kib@FreeBSD.org>
Tue, 12 May 2020 18:17:57 +0000 (18:17 +0000)
committerkib <kib@FreeBSD.org>
Tue, 12 May 2020 18:17:57 +0000 (18:17 +0000)
commitccec3b9d7aeebd7b87a0cdb6772cbfcbaff6df5f
tree1f0d846c33e741d785301bbe1fcf00f472adce7b
parent04e87eddfa3bb59ef8bc78d141b63e33960952bf
Make include/malloc.h usable again.

Lot of third-party Linux code uses #include <malloc.h>, expecting to
find the malloc extensions there. Instead of trying to fight them,
accept that attempt to deprecate the header causes more troubles than
solves potential portability issues, and provide our jemalloc
extensions.

PR: 155429
Reviewed by: imp, jhibbits, dab, hselasky, philip, emaste, jilles
Exp-run by: antoine (PR 245366)
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D24297
include/malloc.h