summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
AgeCommit message (Expand)Author
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-13Include sys/stdint.h for SIZE_MAX instead of relying on the misplacedTodd C. Miller
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-11-06need to calculate correct size before doing the free checks. the biggestTed Unangst
2014-11-06let ramdisks compileTheo de Raadt
2014-11-05need to move lock up to prevent more than one malloc. ok guentherTed Unangst
2014-11-05don't use loop variable (i) for not loop things. use a new var.Ted Unangst
2014-11-05use memname to print string of type. stolen from deraadtTed Unangst
2014-11-05also print type when free size is wrongTed Unangst
2014-11-02tweak free panic messages tooTed Unangst
2014-11-02tweak panic messages for consistencyTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-13if the freedsize isn't zero, check that's reasonable. ok beckTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-10instead of defining two versions of bucketidx, just don't inline for small.Ted Unangst
2014-07-10Add mallocarray(9)Matthew Dempsky
2014-07-10pool_debug still needed for non-DIAGNOSTIC kernelsTheo de Raadt
2014-07-10hide the biglock thrashing under pool_debug so it can be turned offTed Unangst
2014-06-21you've had 12+ years to update your kernel config.Daniel Dickman
2014-05-19consistent use of uint32_t for poison valuesTed Unangst
2014-04-03if it's ok to wait, it must also be ok to give the kernel lock. do so.Ted Unangst
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
2014-01-21bzero -> memsetTed Unangst
2013-08-08Uncomment kprintf format attributes for sys/kernSylvestre Gallon
2013-07-04permit free(NULL) to work. ok deraadtTed Unangst
2013-05-31open up some races. if pool_debug == 2, force a yield() whenever waitok.Ted Unangst
2013-05-03switch the malloc and pool freelists to using xor simpleq.Ted Unangst
2013-04-06shuffle around some poison code, prototypes, values...Ted Unangst
2013-03-28separate memory poisoning code to a new file and make it usable kernel wideTed Unangst
2013-03-26replace kern malloc's hand rolled freelist with simpleq macros.Ted Unangst
2013-03-21use PAGE_SHIFT instead of PGSHIFTTheo de Raadt
2013-03-15factor out the deadbeef code for legibility.Ted Unangst
2013-02-17Comment out recently added __attribute__((__format__(__kprintf__))) annotationsMiod Vallat
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
2012-03-30Expand the panic to show the malloc type and size. Okay deraadt@.Paul Irofti
2012-03-09New vmmap implementation.Ariane van der Steldt
2011-09-22Improve kernel malloc type checking.Joel Sing
2011-06-06Backout vmmap in order to repair virtual address selection algorithmsAriane van der Steldt
2011-06-06push kernel malloc(9) and kernel stacks into non-dma memory, since thatTheo de Raadt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
2010-09-26unify some pool and malloc flag values. the important bit is that all flagsTed Unangst
2010-09-21Add assertwaitok(9) to declare code paths that assume they can sleep.Matthew Dempsky
2010-07-22We have this nice KMEMSTATS option to control when we use kmemstats,Matthew Dempsky
2010-07-02add an align argument to uvm_km_kmemalloc_pla.Artur Grabowski
2010-07-01constrain malloc to only grab pages from dma reachable memory.Thordur I. Bjornsson
2009-08-25If option DIAGNOSTIC, do not bother doing sanity checks, including anMiod Vallat
2009-08-25The BUCKETINDX() giant macro is used to compute the base 2 logarithm of itsMiod Vallat
2009-02-22Don't enforce a minimum size for nkmempages by default; if the computedMiod Vallat