Include a bitmap of allocated entries when built with INVARIANTS. I
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 20 Jun 2005 20:49:14 +0000 (20:49 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 20 Jun 2005 20:49:14 +0000 (20:49 +0000)
commit10cc6608b803a9e26b392c6338c2e7d143934d53
treeff0d21f8f0b7981a845bca670ffd2f0c55970980
parentf917e9bc8c8727ca0f58c86fef4837b2b513b96a
Include a bitmap of allocated entries when built with INVARIANTS.  I
considered making this a separate option but decided it was too important
to leave out of a basic INVARIANTS build.

The kernel will panic if it tries to allocate memory that has already
been allocated or free memory that has already been freed.
sys/kern/kern_slaballoc.c
sys/sys/slaballoc.h