summaryrefslogtreecommitdiffstats
path: root/sys/vm/uma_dbg.h
Commit message (Collapse)AuthorAgeFilesLines
* - Use my freebsd email alias in the copyright.jeff2002-09-191-3/+1
| | | | - Remove redundant instances of my email alias in the file summary.
* Hide a pointer to the malloc_type bucket at the end of the freed memory. Ifjeff2002-05-021-0/+7
| | | | | this memory is modified after it has been freed we can now report it's previous owner.
* Remove the temporary alignment check in free().jeff2002-05-021-0/+2
| | | | | | | | | | | Implement the following checks on freed memory in the bucket path: - Slab membership - Alignment - Duplicate free This previously was only done if we skipped the buckets. This code will slow down INVARIANTS a bit, but it is smp safe. The checks were moved out of the normal path and into hooks supplied in uma_dbg.
* Add a new UMA debugging facility. This will overwrite freed memory withjeff2002-04-301-0/+47
0xdeadc0de and then check for it just before memory is handed off as part of a new request. This will catch any post free/pre alloc modification of memory, as well as introduce errors for anything that tries to dereference it as a pointer. This code takes the form of special init, fini, ctor and dtor routines that are specificly used by malloc. It is in a seperate file because additional debugging aids will want to live here as well.
OpenPOWER on IntegriCloud