summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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