summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okmickey2001-09-191-3/+1
|
* When this code was imported to NetBSD by Jason Thorpe he did a bunch ofart2001-08-171-7/+1
| | | | useful changes (and a lot of cleanup). Bring in them.
* Sysctl for finding out how many pages there are in kmem_map.art2001-08-021-1/+5
|
* Print "data modified on freelist" sizes in hex.art2001-07-261-3/+3
| | | | | I know at least of two cases where people got confused by this and used the wrong size to the malloc debugger.
* remove old vmart2001-06-271-28/+2
|
* KNFderaadt2001-06-221-17/+16
|
* Canonicalize panic messageniklas2001-06-211-2/+2
|
* Panic if we free stuff not in malloc region. (ifdef DIAGNOSTIC)niklas2001-06-211-1/+7
|
* Use lockmgr locks for kern.malloc.kmemstat andangelos2001-05-141-5/+10
| | | | hw.diskstats/hw.disknames.
* Be more paranoid about zapping trailing comma.angelos2001-05-141-3/+8
|
* Use M_SYSCTL, fix a couple of buglets, style. deraadt@ okangelos2001-05-141-22/+13
|
* kmemstats, nselcoll, forkstat, and nchstats structures throughangelos2001-05-111-2/+49
| | | | sysctl. deraadt@ ok
* Remove the cpp magic for finding incorrect MAXALLOCSAVE.art2001-05-061-12/+2
|
* Get rid of CLSIZE and all related stuff.art2001-05-051-8/+8
| | | | | | | | | CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
* Typo in comment (henric@aimnet.com)angelos2001-04-061-2/+2
|
* Latest soft updates from FreeBSD/Kirk McKusickcsapuntz2001-02-211-7/+2
| | | | Snapshot-related code has been commented out.
* Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer.csapuntz2001-02-201-2/+7
| | | | Used by the new soft updates code
* Return a kmembuckets structure, rather than individual items, since they may beangelos2001-01-041-25/+7
| | | | out of sync between consecutive calls of sysctl(3).
* sysctl_malloc()angelos2001-01-041-1/+64
|
* malloc debugging code. Enabled by option MALLOC_DEBUG.art2000-06-061-1/+22
| | | | Make sure you read the docs (malloc(9)) before use.
* Bring in some new UVM code from NetBSD (not current).art2000-03-161-5/+5
| | | | | | | | | - Introduce a new type of map that are interrupt safe and never allow faults in them. mb_map and kmem_map are made intrsafe. - Add "access protection" to uvm_vslock (to be passed down to uvm_fault and later to pmap_enter). - madvise(2) now works. - various cleanups.
* Use PAGE_SIZE instead of NBPG.art1999-11-251-8/+8
|
* use clrnd(round_page(size)) instead of roundup(size, CLBYTES).art1999-09-101-2/+2
| | | | They do the same thing, but the former is noticeably faster on sparc
* vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_tart1999-07-151-6/+6
|
* apparently we need to have kmemstats in the kernel even if we don't use it.art1999-06-231-3/+1
| | | | vmstat will fail if we don't have symbol even when it doesn't need it. XXX
* Also define memname if FFS_SOFTUPDATES is defined. FFS_SOFTUPDATES should really only use memname ifdef DIAGNOSTIC but that isn't feasible right nowmillert1999-06-031-2/+2
|
* put a sanity check behind DIAGNOSTIC and give it a better panic messageart1999-05-061-2/+4
|
* kmem allocation changes for uvmart1999-02-261-2/+45
|
* put some more stuff behind #ifdef KMEMSTATSart1999-01-201-1/+5
|
* panic prints a newline for you, don't do it in the panic stringmillert1999-01-111-2/+2
|
* Please GCC 2.8 -Wallniklas1998-02-201-2/+3
|
* Fixed spelling in a comment.gene1997-12-121-2/+2
|
* prevent warning about unused variable when NO_KMEMSTATS is in effectkstailey1997-03-011-1/+3
|
* kern_malloc() can fail in canwait case if no more map space; return NULL inderaadt1996-06-201-2/+12
| | | | that case so that callers can deal with shortage rather than deadlocking.
* data structure handling fixderaadt1996-06-101-3/+4
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-5/+5
|
* NetBSD 960317 mergeniklas1996-04-191-5/+4
|
* From NetBSD: 960217 mergeniklas1996-03-031-3/+7
|
* initial import of NetBSD treederaadt1995-10-181-0/+396