]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make include/malloc.h usable again.
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 12 May 2020 18:17:57 +0000 (18:17 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 12 May 2020 18:17:57 +0000 (18:17 +0000)
commitbbbed78aaa9ad2d55ed30c15707e7efce92b80d1
tree1f0d846c33e741d785301bbe1fcf00f472adce7b
parent4f5f00d82d4d959e6af27f1fb151145d54048799
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