summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
AgeCommit message (Expand)Author
2008-10-18Revert the change to use pools for <= PAGE_SIZE allocations. ItMark Kettenis
2008-10-11Since malloc_page_alloc() is a pool allocator it should check for PR_WAITOKMark Kettenis
2008-10-05In malloc_page_free(), restore the correct wire_count value.Miod Vallat
2008-09-29Use pools to do allocations for all sizes <= PAGE_SIZE.Artur Grabowski
2008-02-21Prevent possible free list corruption when malloc(9) sleeps.Mark Kettenis
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
2007-09-07Add the long requested M_ZERO flag to malloc(9).Artur Grabowski
2007-09-01replace the machine dependant bytes-to-clicks macro by the MI ptoa()Martin Reindl
2007-05-29Add a name argument to the RWLOCK_INITIALIZER macro.Thordur I. Bjornsson
2007-04-12Allow machine-dependant overrides for the ``deadbeef'' sentinel values,Miod Vallat
2007-04-11Instead of managing pages for intrsafe maps in special objects (aka.Artur Grabowski
2007-03-25remove a few void * casts that are uselessTed Unangst
2007-01-12Switch some lockmgr locks to rwlocks.Artur Grabowski
2006-11-28Make malloc() print out a warning message when returning NULL due toPedro Martelletto
2006-11-22If M_CANFAIL is set and the malloc() size is to bigThordur I. Bjornsson
2006-09-30no malloc debug but configured kmemstats allow 'sh mal' to print smth useful;...Michael Shalayeff
2005-11-28ansi/deregister.Jonathan Gray
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
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