diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-09-05 23:30:17 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-09-05 23:30:17 +0000 |
commit | 7d4374f65f7b3df3d2567029c510f2e1576f0f69 (patch) | |
tree | 71dfb7b14c583f6b94dc521b8e1707d5e4160edc /UPDATING | |
parent | 12cb97fb375924033c760670920c8dcb94b2f52d (diff) | |
download | src-7d4374f65f7b3df3d2567029c510f2e1576f0f69.tar.gz src-7d4374f65f7b3df3d2567029c510f2e1576f0f69.zip |
Turn MALLOC_PRODUCTION into a regular src.conf(5) option
For historical reasons, defining MALLOC_PRODUCTION in /etc/make.conf has
been used to turn off potentially expensive debug checks and statistics
gathering in the implementation of malloc(3).
It seems more consistent to turn this into a regular src.conf(5) option,
e.g. WITH_MALLOC_PRODUCTION / WITHOUT_MALLOC_PRODUCTION. This can then
be toggled similar to any other source build option, and turned on or
off by default for e.g. stable branches.
Reviewed by: imp, #manpages
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26337
Notes
Notes:
svn path=/head/; revision=365371
Diffstat (limited to 'UPDATING')
-rw-r--r-- | UPDATING | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,9 +22,9 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: debugging flags in userland, and various verbose features in the kernel. Many developers choose to disable these features on build machines to maximize performance. (To completely disable malloc - debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely - disable the most expensive debugging functionality run - "ln -s 'abort:false,junk:false' /etc/malloc.conf".) + debugging, define WITH_MALLOC_PRODUCTION in /etc/src.conf and rebuild + world, or to merely disable the most expensive debugging functionality + at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 20200824: OpenZFS support has been integrated. Do not upgrade root pools until |