Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | If we assume (just pure speculation) that there will be a pmap sometime in | 2001-12-05 | 1 | -3/+3 | ||
| | | | | | | | the future that wants to allocate pv entries for every pmap_enter and wants to allocate those pv entries from kmem_map, it might be a good idea to init the kmem_map before initializing the kmemusage struct (because kmemusage allocates memory). | |||||
* | make nkmempages dynamic based on memory. okay art@ from netbsd: | 2001-12-05 | 1 | -9/+72 | ||
| | | | | | | | | | | | | | | date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file. | |||||
* | Sync in more uvm from NetBSD. Mostly just cosmetic stuff. | 2001-11-28 | 1 | -3/+3 | ||
| | | | | Contains also support for page coloring. | |||||
* | zap some typedefs. | 2001-11-28 | 1 | -2/+2 | ||
| | | | | | | | | vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit) | |||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+1 | ||
| | | | | (Look ma, I might have broken the tree) | |||||
* | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | 2001-09-19 | 1 | -3/+1 | ||
| | ||||||
* | When this code was imported to NetBSD by Jason Thorpe he did a bunch of | 2001-08-17 | 1 | -7/+1 | ||
| | | | | useful changes (and a lot of cleanup). Bring in them. | |||||
* | Sysctl for finding out how many pages there are in kmem_map. | 2001-08-02 | 1 | -1/+5 | ||
| | ||||||
* | Print "data modified on freelist" sizes in hex. | 2001-07-26 | 1 | -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 vm | 2001-06-27 | 1 | -28/+2 | ||
| | ||||||
* | KNF | 2001-06-22 | 1 | -17/+16 | ||
| | ||||||
* | Canonicalize panic message | 2001-06-21 | 1 | -2/+2 | ||
| | ||||||
* | Panic if we free stuff not in malloc region. (ifdef DIAGNOSTIC) | 2001-06-21 | 1 | -1/+7 | ||
| | ||||||
* | Use lockmgr locks for kern.malloc.kmemstat and | 2001-05-14 | 1 | -5/+10 | ||
| | | | | hw.diskstats/hw.disknames. | |||||
* | Be more paranoid about zapping trailing comma. | 2001-05-14 | 1 | -3/+8 | ||
| | ||||||
* | Use M_SYSCTL, fix a couple of buglets, style. deraadt@ ok | 2001-05-14 | 1 | -22/+13 | ||
| | ||||||
* | kmemstats, nselcoll, forkstat, and nchstats structures through | 2001-05-11 | 1 | -2/+49 | ||
| | | | | sysctl. deraadt@ ok | |||||
* | Remove the cpp magic for finding incorrect MAXALLOCSAVE. | 2001-05-06 | 1 | -12/+2 | ||
| | ||||||
* | Get rid of CLSIZE and all related stuff. | 2001-05-05 | 1 | -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) | 2001-04-06 | 1 | -2/+2 | ||
| | ||||||
* | Latest soft updates from FreeBSD/Kirk McKusick | 2001-02-21 | 1 | -7/+2 | ||
| | | | | Snapshot-related code has been commented out. | |||||
* | Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer. | 2001-02-20 | 1 | -2/+7 | ||
| | | | | Used by the new soft updates code | |||||
* | Return a kmembuckets structure, rather than individual items, since they may be | 2001-01-04 | 1 | -25/+7 | ||
| | | | | out of sync between consecutive calls of sysctl(3). | |||||
* | sysctl_malloc() | 2001-01-04 | 1 | -1/+64 | ||
| | ||||||
* | malloc debugging code. Enabled by option MALLOC_DEBUG. | 2000-06-06 | 1 | -1/+22 | ||
| | | | | Make sure you read the docs (malloc(9)) before use. | |||||
* | Bring in some new UVM code from NetBSD (not current). | 2000-03-16 | 1 | -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. | 1999-11-25 | 1 | -8/+8 | ||
| | ||||||
* | use clrnd(round_page(size)) instead of roundup(size, CLBYTES). | 1999-09-10 | 1 | -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_t | 1999-07-15 | 1 | -6/+6 | ||
| | ||||||
* | apparently we need to have kmemstats in the kernel even if we don't use it. | 1999-06-23 | 1 | -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 now | 1999-06-03 | 1 | -2/+2 | ||
| | ||||||
* | put a sanity check behind DIAGNOSTIC and give it a better panic message | 1999-05-06 | 1 | -2/+4 | ||
| | ||||||
* | kmem allocation changes for uvm | 1999-02-26 | 1 | -2/+45 | ||
| | ||||||
* | put some more stuff behind #ifdef KMEMSTATS | 1999-01-20 | 1 | -1/+5 | ||
| | ||||||
* | panic prints a newline for you, don't do it in the panic string | 1999-01-11 | 1 | -2/+2 | ||
| | ||||||
* | Please GCC 2.8 -Wall | 1998-02-20 | 1 | -2/+3 | ||
| | ||||||
* | Fixed spelling in a comment. | 1997-12-12 | 1 | -2/+2 | ||
| | ||||||
* | prevent warning about unused variable when NO_KMEMSTATS is in effect | 1997-03-01 | 1 | -1/+3 | ||
| | ||||||
* | kern_malloc() can fail in canwait case if no more map space; return NULL in | 1996-06-20 | 1 | -2/+12 | ||
| | | | | that case so that callers can deal with shortage rather than deadlocking. | |||||
* | data structure handling fix | 1996-06-10 | 1 | -3/+4 | ||
| | ||||||
* | partial sync with netbsd 960418, more to come | 1996-04-21 | 1 | -5/+5 | ||
| | ||||||
* | NetBSD 960317 merge | 1996-04-19 | 1 | -5/+4 | ||
| | ||||||
* | From NetBSD: 960217 merge | 1996-03-03 | 1 | -3/+7 | ||
| | ||||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+396 | ||