summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
AgeCommit message (Expand)Author
2003-10-30Remove some assigned-to but otherwise unused variables.simonb
2003-09-27A nit I ran into while copying this code for something else...mycroft
2003-09-23Avoid a type punning warning in the MALLOC_DEBUG case.thorpej
2003-09-03Do correct pointer casts.ragge
2003-08-31Fix error in previous commit: the first vaddr_t argument to uvm_km_suballocfvdl
2003-08-30Do not cast a pointer to a pointer with different basic type when givenragge
2003-08-28Use vm_map_{min,max}() rather than accessing struct vm_map.header.{start,end}enami
2003-08-26Added a malloc freelist sanity check function, for debugging purposesmanu
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-08-02Build again with MALLOCLOGmanu
2003-05-06In the KMEMSTATS && DIAGNOSTIC case, add a check for inuse already being 0fvdl
2003-02-14Make the memory allocation code MP-safe.pk
2003-02-01Add extensible malloc types, adapted from FreeBSD. This turnsthorpej
2002-11-10Avoid signed/unsigned comparison and strict alias warnings.thorpej
2002-09-27remove trailing \n in panic(). approved perry.provos
2002-09-25Don't include <sys/map.h>.thorpej
2002-09-15add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() tochs
2002-08-25Fix a signed/unsigned comparison warning from GCC 3.3.thorpej
2002-04-03Include opt_malloc_debug.h so that debug_malloc will actually be usedfvdl
2001-12-05Introduce new function malloc_roundup(), suggested by Bill Sommerfeldenami
2001-12-04KNF and other cosmetic changes.enami
2001-12-04Add M_CANFAIL malloc(9) flag. This flag changes behaviour in M_WAITOKjdolecek
2001-11-30Since we know that `va' is non-NULL here, no need to test if it is NULL.enami
2001-11-21Use round_page() instead of roundup(, PAGE_SIZE).enami
2001-11-17Add new malloc(9) flag M_ZERO - zeros memory before returning.lukem
2001-11-12add RCSIDslukem
2001-09-15a whole bunch of changes to improve performance and robustness under load:chs
2001-08-17Artur Grabowski's simple brute-force malloc debugger, which usesthorpej
2001-06-26Reduce some complexity in the fault path -- Rather than maintainingthorpej
2001-06-26Make the kmemstats limits unsigned, and use unsigned arithmeticthorpej
2001-06-05Assert that no locks are held if we're called with M_WAITOK.thorpej
2001-06-02replace vm_map{,_entry}_t with struct vm_map{,_entry} *.chs
2001-01-18constifyjdolecek
2001-01-14Use splvm(), not the home-grown splmem().thorpej
2000-11-24ifdef DEBUG, increase the max size we'll overwrite in freed memory blockschs
2000-06-27remove include of <vm/vm.h>mrg
2000-06-26remove/move more mach vm header files:mrg
2000-05-26Improve #error message slightly.sommerfeld
2000-05-08__predict_false() the check for bogus malloc type, running out of spacethorpej
2000-03-30Get rid of register declarations.augustss
2000-02-11Add some very simple code to auto-size the kmem_map. We take thethorpej
2000-02-01Add a sanity check to ensure that a region being free()'d is actuallythorpej
1999-12-03First round of discarding the CL* macros.ragge
1999-11-15Add Kirk McKusick's soft updates code to the trunk. Not enabled byfvdl
1999-07-19remove simplelockrecurse, it's no longer needed.chs
1999-06-04Keep interrupt-safe maps on an additional queue. In uvm_fault(), if we'rethorpej
1999-05-28Don't use a read lock on an intrsafe map; these maps can only use exclusive,thorpej
1999-05-26Change the vm_map's "entries_pageable" member to a r/o flags member, whichthorpej
1999-03-24completely remove Mach VM support. all that is left is the all themrg
1999-01-22avoid math on void *.chs