summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
AgeCommit message (Expand)Author
2004-12-30Import M_CANFAIL support from NetBSD, removes a nasty panic during low-mem sc...Niklas Hallqvist
2004-05-23bad stuff escaped by accidentTed Unangst
2004-05-23according to fork1(9), retval is optional. make it so.Ted Unangst
2003-12-28make check for too large allocations earlier, instead of fiddling with it.Ted Unangst
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-26addrmask canbe constMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-06-01uvm_km_suballoc passes the 'min' argument untouched to uvm_map. uvm_mapArtur Grabowski
2003-05-03string fixes; tedu okTheo de Raadt
2003-04-10woah. last commit contained way too much. revert, and apply only the change...Ted Unangst
2003-04-10off by one bounds check in diag code. ok art.Ted Unangst
2002-06-11splvm, not splimpArtur Grabowski
2002-02-12malloc_roundup to calculate allocation size malloc will use; from netbsd;Niels Provos
2002-01-16Don't include <sys/map.h> when you don't need what's in it.Miod Vallat
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
2001-12-05If we assume (just pure speculation) that there will be a pmap sometime inArtur Grabowski
2001-12-05make nkmempages dynamic based on memory. okay art@ from netbsd:Niels Provos
2001-11-28Sync in more uvm from NetBSD. Mostly just cosmetic stuff.Artur Grabowski
2001-11-28zap some typedefs.Artur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-08-17When this code was imported to NetBSD by Jason Thorpe he did a bunch ofArtur Grabowski
2001-08-02Sysctl for finding out how many pages there are in kmem_map.Artur Grabowski
2001-07-26Print "data modified on freelist" sizes in hex.Artur Grabowski
2001-06-27remove old vmArtur Grabowski
2001-06-22KNFTheo de Raadt
2001-06-21Canonicalize panic messageNiklas Hallqvist
2001-06-21Panic if we free stuff not in malloc region. (ifdef DIAGNOSTIC)Niklas Hallqvist
2001-05-14Use lockmgr locks for kern.malloc.kmemstat andAngelos D. Keromytis
2001-05-14Be more paranoid about zapping trailing comma.Angelos D. Keromytis
2001-05-14Use M_SYSCTL, fix a couple of buglets, style. deraadt@ okAngelos D. Keromytis
2001-05-11kmemstats, nselcoll, forkstat, and nchstats structures throughAngelos D. Keromytis
2001-05-06Remove the cpp magic for finding incorrect MAXALLOCSAVE.Artur Grabowski
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
2001-04-06Typo in comment (henric@aimnet.com)Angelos D. Keromytis
2001-02-21Latest soft updates from FreeBSD/Kirk McKusickConstantine Sapuntzakis
2001-02-20Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer.Constantine Sapuntzakis
2001-01-04Return a kmembuckets structure, rather than individual items, since they may beAngelos D. Keromytis
2001-01-04sysctl_malloc()Angelos D. Keromytis
2000-06-06malloc debugging code. Enabled by option MALLOC_DEBUG.Artur Grabowski
2000-03-16Bring in some new UVM code from NetBSD (not current).Artur Grabowski
1999-11-25Use PAGE_SIZE instead of NBPG.Artur Grabowski
1999-09-10use clrnd(round_page(size)) instead of roundup(size, CLBYTES).Artur Grabowski
1999-07-15vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tArtur Grabowski
1999-06-23apparently we need to have kmemstats in the kernel even if we don't use it.Artur Grabowski
1999-06-03Also define memname if FFS_SOFTUPDATES is defined. FFS_SOFTUPDATES should re...Todd C. Miller
1999-05-06put a sanity check behind DIAGNOSTIC and give it a better panic messageArtur Grabowski
1999-02-26kmem allocation changes for uvmArtur Grabowski
1999-01-20put some more stuff behind #ifdef KMEMSTATSArtur Grabowski
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller