summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_io.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Sync some comments in order to reduce the difference with NetBSD.mpi2021-03-201-9/+15
| | | | | | No functionnal change. ok kettenis@
* Use uiomove(9) instead of uiomovei(9). From Martin Natano.kettenis2016-01-091-2/+2
|
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* First step towards making uiomove() take a size_t size argument:miod2015-02-101-2/+2
| | | | | | | - rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* Chuck Cranor rescinded clauses in his licensejsg2014-07-111-8/+1
| | | | | | | | | | | | | on the 2nd of February 2011 in NetBSD. http://marc.info/?l=netbsd-source-changes&m=129658899212732&w=2 http://marc.info/?l=netbsd-source-changes&m=129659095515558&w=2 http://marc.info/?l=netbsd-source-changes&m=129659157916514&w=2 http://marc.info/?l=netbsd-source-changes&m=129665962324372&w=2 http://marc.info/?l=netbsd-source-changes&m=129666033625342&w=2 http://marc.info/?l=netbsd-source-changes&m=129666052825545&w=2 http://marc.info/?l=netbsd-source-changes&m=129666922906480&w=2 http://marc.info/?l=netbsd-source-changes&m=129667725518082&w=2
* compress code by turning four line comments into one line comments.tedu2014-04-131-24/+5
| | | | emphatic ok usual suspects, grudging ok miod
* New vmmap implementation.ariane2012-03-091-8/+7
| | | | | | | | | | | | no oks (it is really a pain to review properly) extensively tested, I'm confident it'll be stable 'now is the time' from several icb inhabitants Diff provides: - ability to specify different allocators for different regions/maps - a simpler implementation of the current allocator - currently in compatibility mode: it will generate similar addresses as the old allocator
* Backout vmmap in order to repair virtual address selection algorithmsariane2011-06-061-7/+8
| | | | outside the tree.
* Reimplement uvm/uvm_map.ariane2011-05-241-8/+7
| | | | | | | | | | | | | vmmap is designed to perform address space randomized allocations, without letting fragmentation of the address space go through the roof. Some highlights: - kernel address space randomization - proper implementation of guardpages - roughly 10% system time reduction during kernel build Tested by alot of people on tech@ and developers. Theo's machines are still happy.
* Add an extra argument to uvm_unmap_remove(), for the caller to tell itmiod2009-07-251-2/+2
| | | | | | | whether removing holes or parts of them is allowed or not. Only allow hole removal in uvmspace_free(), when tearing the vmspace down. ok art@
* Add an extra flags argument to uvm_io(), to specify whether we want to fixmiod2005-11-041-7/+8
| | | | | | | | | the protection of the memory mapping we're doing I/O on, or if we want to leave them as they are. This should only be necessary for breakpoint insertion in code, so we'll only use it for ptrace requests. Initially from art@ after discussion with kettenis@ millert@ and I, tested by many.
* add a new field to vm_space and use it to track the number of anontedu2005-05-241-2/+2
| | | | | pages a process uses. this is now the userland "data size" value. ok art deraadt tdeval. thanks testers.
* Since memory deallocation can't fail, remove the error return fromart2002-10-291-2/+2
| | | | | uvm_unmap, uvm_deallocate and a few other functions. Simplifies some code and reduces diff to the UBC branch.
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-6/+7
| | | | | | | | | 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.
* Sync in more uvm from NetBSD. Mostly just cosmetic stuff.art2001-11-281-5/+5
| | | | Contains also support for page coloring.
* Sync in more uvm changes from NetBSD.art2001-11-281-4/+3
| | | | | This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
* Move the last content from vm/ to uvm/art2001-11-061-4/+2
| | | | | | | The only thing left in vm/ are just dumb wrappers. vm/vm.h includes uvm/uvm_extern.h vm/pmap.h includes uvm/uvm_pmap.h vm/vm_page.h includes uvm/uvm_page.h
* Minor sync to NetBSD.art2001-11-051-3/+2
|
* Avoid leaking memory if uiomove fails.art2001-09-201-3/+8
|
* merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okmickey2001-09-191-2/+1
|
* Various random fixes from NetBSD.art2001-08-111-2/+2
| | | | Including support for zeroing pages in the idle loop (not enabled yet).
* $OpenBSD$niklas2001-01-291-0/+1
|
* Fix the NetBSD id strings.art2000-03-151-1/+1
|
* sync with NetBSD from 1999.05.24 (there is a reason for this date)art1999-08-231-5/+0
| | | | | Mostly cleanups, but also a few improvements to pagedaemon for better handling of low memory and/or low swap conditions.
* add OpenBSD tagsart1999-02-261-0/+1
|
* Import of uvm from NetBSD. Some local changes, some code disabledart1999-02-261-0/+163