HardenedBSD/sys
Bruce Evans 979ab75162 Removed support for generating inline code for MALLOC() and FREE()
in the dysfunctional !KMEMSTATS case.  This hasn't compiled since
rev.1.31 of kern_malloc.c quietly removed the core of the support
for the !KMEMSTATS case.  I fixed it to see if it was worth saving
and found that (as usual) inlining just wasted space and increased
complexity without significantly affecting time, at least for the
lmbench2 micro-benchmark on a Celeron.  The space bloat was
surprisingly large - the text size increased from 1700K to 1840K
for a version with the entire malloc() family inlined.

Removed even older garbage (kmemxtob() and btokmemx() macros).

Attempt to deprecate MALLOC() and FREE().  Given current compilers
(gcc-2.x or C99), they don't do anything that (safe) function-like
macros or inline functions named malloc() and free() couldn't do.

Fixed missing casts of macro args in MALLOC() and FREE().
2000-06-14 17:11:47 +00:00
..
alpha
amd64
boot
cam
coda
compat
compile
conf
contrib
crypto
ddb
dev
fs
geom
gnu
i4b
i386
isa
isofs/cd9660
kern
libkern
miscfs
modules
msdosfs
net
netatalk
netatm
netgraph
netinet
netinet6
netipx
netkey
netnatm
netncp
netns
nfs
nfsclient
nfsserver
ntfs
nwfs
pc98
pccard
pci
posix4
powerpc
rpc
svr4
sys
tools
ufs
vm
Makefile