]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If kernel compiled with INVARIANTS:
authorBoris Popov <bp@FreeBSD.org>
Thu, 29 Jun 2000 03:41:30 +0000 (03:41 +0000)
committerBoris Popov <bp@FreeBSD.org>
Thu, 29 Jun 2000 03:41:30 +0000 (03:41 +0000)
commit99063cf89eaf33fc019d82f1271512132f69f4fb
tree4a11de74f46f465c6352bd04a1f1107f4720add1
parentd8cbedb6b0d6475cece1920e031c6b60572fb48e
If kernel compiled with INVARIANTS:

On unload, remove references from freelist to memory type defined by module.
Print a warning if module defines and allocate its own memory type, but
didn't free it all on unload.

Reviewed by: peter
sys/kern/kern_malloc.c