summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* remove unused malloc_roundup()jsg2021-02-231-13/+1
* Add trace points for malloc(9) and free(9). This makes them traceableclaudio2020-12-311-1/+7
* delete strange historical FFS_SOFTUPDATES ifdef...deraadt2020-10-141-4/+4
* Convert infinite sleeps to {m,t}sleep_nsec(9).mpi2019-12-191-2/+2
* Delete km_mapblocks from kmemstats and its always-zero column from the ddbguenther2019-11-281-5/+5
* rework the zero warning slightly, and more completely disable until we'retedu2019-05-151-8/+9
* disable stack printing for now since at least arm64 can't print themtedu2019-05-091-1/+3
* print a few warnings when calling free with a zero size.tedu2019-05-081-3/+14
* In free(9) call wakeup() after mtx_leave() consistently.bluhm2018-07-101-7/+12
* Fix trailing whitespaces and too long line.bluhm2018-07-091-6/+6
* Make free(9) MP safe. It was wrong to set ku_indx to 0 after freeingbluhm2018-07-091-5/+8
* While booting it does not make sense to wait for memory, there isbluhm2018-01-181-1/+7
* Fix an off-by-one in the free(9) "passed size was too small" check:guenther2018-01-021-3/+3
* remove MALLOC_DEBUGdlg2017-11-141-17/+1
* make malloc(9) mpsafe by using a mutex instead of splvm.dlg2017-07-101-32/+47
* Assert that the calling CPU is holding the KERNEL_LOCK() in malloc(9)mpi2017-06-071-1/+7
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
* Include sys/stdint.h for SIZE_MAX instead of relying on the misplacedmillert2015-02-131-1/+2
* convert bcopy to memcpy. ok millerttedu2014-12-101-2/+2
* move arc4random prototype to systm.h. more appropriate for most codetedu2014-11-181-3/+1
* Replace a plethora of historical protection options with justderaadt2014-11-161-2/+2
* need to calculate correct size before doing the free checks. the biggesttedu2014-11-061-2/+3
* let ramdisks compilederaadt2014-11-061-2/+5
* need to move lock up to prevent more than one malloc. ok guenthertedu2014-11-051-8/+6
* don't use loop variable (i) for not loop things. use a new var.tedu2014-11-051-4/+5
* use memname to print string of type. stolen from deraadttedu2014-11-051-5/+5
* also print type when free size is wrongtedu2014-11-051-4/+5
* tweak free panic messages tootedu2014-11-021-3/+3
* tweak panic messages for consistencytedu2014-11-021-3/+3
* remove uneeded proc.h includesjsg2014-09-141-2/+1
* if the freedsize isn't zero, check that's reasonable. ok becktedu2014-07-131-2/+7
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-2/+2
* instead of defining two versions of bucketidx, just don't inline for small.tedu2014-07-101-14/+6
* Add mallocarray(9)matthew2014-07-101-2/+36
* pool_debug still needed for non-DIAGNOSTIC kernelsderaadt2014-07-101-2/+2
* hide the biglock thrashing under pool_debug so it can be turned offtedu2014-07-101-2/+2
* you've had 12+ years to update your kernel config.daniel2014-06-211-5/+1
* consistent use of uint32_t for poison valuestedu2014-05-191-2/+2
* if it's ok to wait, it must also be ok to give the kernel lock. do so.tedu2014-04-031-3/+7
* Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofmpi2014-03-281-2/+2
* bzero -> memsettedu2014-01-211-3/+3
* Uncomment kprintf format attributes for sys/kernsyl2013-08-081-2/+2
* permit free(NULL) to work. ok deraadttedu2013-07-041-1/+4
* open up some races. if pool_debug == 2, force a yield() whenever waitok.tedu2013-05-311-2/+8
* switch the malloc and pool freelists to using xor simpleq.tedu2013-05-031-11/+13
* shuffle around some poison code, prototypes, values...tedu2013-04-061-13/+18
* separate memory poisoning code to a new file and make it usable kernel widetedu2013-03-281-48/+15
* replace kern malloc's hand rolled freelist with simpleq macros.tedu2013-03-261-65/+31
* use PAGE_SHIFT instead of PGSHIFTderaadt2013-03-211-2/+2
* factor out the deadbeef code for legibility.tedu2013-03-151-37/+51