summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
AgeCommit message (Collapse)Author
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