summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-10 14:06:34 +0000
committerphk <phk@FreeBSD.org>1997-10-10 14:06:34 +0000
commit7c874af4b84b221f2d71b950c876c07d5cb68c79 (patch)
tree402c156e21cf199386d5f759b094a4524f1f8972 /sys/kern/subr_prf.c
parent59ad45bfebed512b69728730d4d9e57b670fcc38 (diff)
downloadFreeBSD-src-7c874af4b84b221f2d71b950c876c07d5cb68c79.zip
FreeBSD-src-7c874af4b84b221f2d71b950c876c07d5cb68c79.tar.gz
Make malloc more extensible. The malloc type is now a pointer to
the struct kmemstats that describes the type. This allows subsystems to declare their malloc types locally and <sys/malloc.h> doesn't need tweaked everytime somebody gets an idea. You can even have a type local to a lkm... I don't know if we really need the longdesc, comments welcome. TODO: There is a single nit in ext2fs, that will be fixed later, and I intend to remove all unused malloc types and distribute the rest closer to their use.
Diffstat (limited to 'sys/kern/subr_prf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud