Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-12-30 | Import M_CANFAIL support from NetBSD, removes a nasty panic during low-mem ↵ | Niklas Hallqvist | |
scenarios, instead generating an ENOMEM backfeed, ok tedu@, prodded by many | |||
2004-05-23 | bad stuff escaped by accident | Ted Unangst | |
2004-05-23 | according to fork1(9), retval is optional. make it so. | Ted Unangst | |
from form@pdp-11.org.ru via mpech. ok millert | |||
2003-12-28 | make check for too large allocations earlier, instead of fiddling with it. | Ted Unangst | |
less error prone (no wraparound). no real functional change though. ok markus tdeval | |||
2003-07-21 | remove caddr_t casts. it's just silly to cast something when the function | Ted Unangst | |
takes a void *. convert uiomove to take a void * as well. ok deraadt@ | |||
2003-06-26 | addrmask canbe const | Michael Shalayeff | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-01 | uvm_km_suballoc passes the 'min' argument untouched to uvm_map. uvm_map | Artur Grabowski | |
uses it as a hint for where to steal space from the parent map. We've been passing random stack garbage as that hint for ages. It's a wonder it didn't break things until we started working on Hammer. noone objected for at least a week. | |||
2003-05-03 | string fixes; tedu ok | Theo de Raadt | |
2003-04-10 | woah. last commit contained way too much. revert, and apply only the ↵ | Ted Unangst | |
change intended. | |||
2003-04-10 | off by one bounds check in diag code. ok art. | Ted Unangst | |
2002-06-11 | splvm, not splimp | Artur Grabowski | |
2002-02-12 | malloc_roundup to calculate allocation size malloc will use; from netbsd; | Niels Provos | |
okay art@ | |||
2002-01-16 | Don't include <sys/map.h> when you don't need what's in it. | Miod Vallat | |
2001-12-19 | UBC was a disaster. It worked very good when it worked, but on some | Artur Grabowski | |
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience. | |||
2001-12-05 | If we assume (just pure speculation) that there will be a pmap sometime in | Artur Grabowski | |
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). | |||
2001-12-05 | make nkmempages dynamic based on memory. okay art@ from netbsd: | Niels Provos | |
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. | |||
2001-11-28 | Sync in more uvm from NetBSD. Mostly just cosmetic stuff. | Artur Grabowski | |
Contains also support for page coloring. | |||
2001-11-28 | zap some typedefs. | Artur Grabowski | |
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) | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-09-19 | merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok | Michael Shalayeff | |
2001-08-17 | When this code was imported to NetBSD by Jason Thorpe he did a bunch of | Artur Grabowski | |
useful changes (and a lot of cleanup). Bring in them. | |||
2001-08-02 | Sysctl for finding out how many pages there are in kmem_map. | Artur Grabowski | |
2001-07-26 | Print "data modified on freelist" sizes in hex. | Artur Grabowski | |
I know at least of two cases where people got confused by this and used the wrong size to the malloc debugger. | |||
2001-06-27 | remove old vm | Artur Grabowski | |
2001-06-22 | KNF | Theo de Raadt | |
2001-06-21 | Canonicalize panic message | Niklas Hallqvist | |
2001-06-21 | Panic if we free stuff not in malloc region. (ifdef DIAGNOSTIC) | Niklas Hallqvist | |
2001-05-14 | Use lockmgr locks for kern.malloc.kmemstat and | Angelos D. Keromytis | |
hw.diskstats/hw.disknames. | |||
2001-05-14 | Be more paranoid about zapping trailing comma. | Angelos D. Keromytis | |
2001-05-14 | Use M_SYSCTL, fix a couple of buglets, style. deraadt@ ok | Angelos D. Keromytis | |
2001-05-11 | kmemstats, nselcoll, forkstat, and nchstats structures through | Angelos D. Keromytis | |
sysctl. deraadt@ ok | |||
2001-05-06 | Remove the cpp magic for finding incorrect MAXALLOCSAVE. | Artur Grabowski | |
2001-05-05 | Get 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-06 | Typo in comment (henric@aimnet.com) | Angelos D. Keromytis | |
2001-02-21 | Latest soft updates from FreeBSD/Kirk McKusick | Constantine Sapuntzakis | |
Snapshot-related code has been commented out. | |||
2001-02-20 | Add M_ZERO option to malloc. Causes malloc to return a zero'ed buffer. | Constantine Sapuntzakis | |
Used by the new soft updates code | |||
2001-01-04 | Return a kmembuckets structure, rather than individual items, since they may be | Angelos D. Keromytis | |
out of sync between consecutive calls of sysctl(3). | |||
2001-01-04 | sysctl_malloc() | Angelos D. Keromytis | |
2000-06-06 | malloc debugging code. Enabled by option MALLOC_DEBUG. | Artur Grabowski | |
Make sure you read the docs (malloc(9)) before use. | |||
2000-03-16 | Bring 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-25 | Use PAGE_SIZE instead of NBPG. | Artur Grabowski | |
1999-09-10 | use 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-15 | vm_offset_t -> {v,p}addr_t ; vm_size_t -> {v,p}size_t | Artur Grabowski | |
1999-06-23 | apparently 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-03 | Also 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-06 | put a sanity check behind DIAGNOSTIC and give it a better panic message | Artur Grabowski | |
1999-02-26 | kmem allocation changes for uvm | Artur Grabowski | |
1999-01-20 | put some more stuff behind #ifdef KMEMSTATS | Artur Grabowski | |
1999-01-11 | panic prints a newline for you, don't do it in the panic string | Todd C. Miller | |