summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
AgeCommit message (Collapse)Author
2001-05-14Use lockmgr locks for kern.malloc.kmemstat andAngelos D. Keromytis
hw.diskstats/hw.disknames.
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
sysctl. deraadt@ ok
2001-05-06Remove the cpp magic for finding incorrect MAXALLOCSAVE.Artur Grabowski
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
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.
2001-04-06Typo in comment (henric@aimnet.com)Angelos D. Keromytis
2001-02-21Latest soft updates from FreeBSD/Kirk McKusickConstantine Sapuntzakis
Snapshot-related code has been commented out.
2001-02-20Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer.Constantine Sapuntzakis
Used by the new soft updates code
2001-01-04Return a kmembuckets structure, rather than individual items, since they may beAngelos D. Keromytis
out of sync between consecutive calls of sysctl(3).
2001-01-04sysctl_malloc()Angelos D. Keromytis
2000-06-06malloc debugging code. Enabled by option MALLOC_DEBUG.Artur Grabowski
Make sure you read the docs (malloc(9)) before use.
2000-03-16Bring in some new UVM code from NetBSD (not current).Artur Grabowski
- 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.
1999-11-25Use PAGE_SIZE instead of NBPG.Artur Grabowski
1999-09-10use clrnd(round_page(size)) instead of roundup(size, CLBYTES).Artur Grabowski
They do the same thing, but the former is noticeably faster on sparc
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
vmstat will fail if we don't have symbol even when it doesn't need it. XXX
1999-06-03Also define memname if FFS_SOFTUPDATES is defined. FFS_SOFTUPDATES should ↵Todd C. Miller
really only use memname ifdef DIAGNOSTIC but that isn't feasible right now
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
1998-02-20Please GCC 2.8 -WallNiklas Hallqvist
1997-12-12Fixed spelling in a comment.gene
1997-03-01prevent warning about unused variable when NO_KMEMSTATS is in effectkstailey
1996-06-20kern_malloc() can fail in canwait case if no more map space; return NULL inTheo de Raadt
that case so that callers can deal with shortage rather than deadlocking.
1996-06-10data structure handling fixTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19NetBSD 960317 mergeNiklas Hallqvist
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt