diff options
author | phk <phk@FreeBSD.org> | 1997-10-10 14:06:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-10 14:06:34 +0000 |
commit | 7c874af4b84b221f2d71b950c876c07d5cb68c79 (patch) | |
tree | 402c156e21cf199386d5f759b094a4524f1f8972 /sys/kern/subr_prf.c | |
parent | 59ad45bfebed512b69728730d4d9e57b670fcc38 (diff) | |
download | FreeBSD-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