summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_pager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* the #ifdef _KERNEL can wrap the entire file. uvm_extern.h only pullsderaadt2014-07-081-10/+2
| | | | this inside #ifdef _KERNEL in any case, so nothing really changes.
* Put the PG_RELEASED changes diff back in.oga2009-07-221-3/+1
| | | | | | | | This has has been tested very very thoroughly on all archs we have excepting 88k and 68k. Please see cvs log for the individual commit messages. ok beck@, thib@
* date based reversion of uvm to the 4th May.oga2009-06-171-1/+1
| | | | | | | | | | | More backouts in line with previous ones, this appears to bring us back to a stable condition. A machine forced to 64mb of ram cycled 10GB through swap with this diff and is still running as I type this. Other tests by ariane@ and thib@ also seem to show that it's alright. ok deraadt@, thib@, ariane@
* Backout all changes to uvm after pmemrange (which will be backed outoga2009-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | separately). a change at or just before the hackathon has either exposed or added a very very nasty memory corruption bug that is giving us hell right now. So in the interest of kernel stability these diffs are being backed out until such a time as that corruption bug has been found and squashed, then the ones that are proven good may slowly return. a quick hitlist of the main commits this backs out: mine: uvm_objwire the lock change in uvm_swap.c using trees for uvm objects instead of the hash removing the pgo_releasepg callback. art@'s: putting pmap_page_protect(VM_PROT_NONE) in uvm_pagedeactivate() since all callers called that just prior anyway. ok beck@, ariane@. prompted by deraadt@.
* Since we've now cleared up a lot of the PG_RELEASED setting, remove theoga2009-06-011-3/+1
| | | | | | | | pgo_releasepg() hook and just free the page the "normal" way in the one place we'll ever see PG_RELEASED and should care (uvm_page_unbusy, called in aiodoned). ok art@, beck@, thib@
* remove PGO_OVERWRITE, PGO_WEAK and PGO_PASTEOF from the pager. They're alloga2009-03-271-4/+1
| | | | | | unused. ok art@.
* Move all of the pseudo-inline functions in uvm into C files.oga2009-03-251-19/+6
| | | | | | | | | By pseudo-inline, I mean that if a certain macro was defined, they would be inlined. However, no architecture defines that, and none has for a very very long time. Therefore mainly this just makes the code a damned sight easier to read. Some k&r -> ansi declarations while I'm in there. "just commit it" art@. ok weingart@.
* garbage collect uvm_errno2vmerror();thib2008-11-241-3/+1
| | | | ok miod@, art@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Cosmetic changes only, primarily making comments line up nicely after themillert2002-03-151-14/+25
| | | | __P removal.
* First round of __P removal in sysmillert2002-03-141-36/+27
|
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-13/+34
| | | | | | | | | 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-12/+13
| | | | Contains also support for page coloring.
* Sync in more uvm changes from NetBSD.art2001-11-281-24/+2
| | | | | This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
* Merge in some parts of the ubc work that has been done in NetBSD that are notart2001-11-101-25/+12
| | | | | | | | | | UBC, but prerequsites for it. - Create a daemon that processes async I/O (swap and paging in the future) requests that need processing in process context and that were processed in the pagedaemon before. - Convert some ugly ifdef DIAGNOSTIC code to less intrusive KASSERTs. - misc other cleanups.
* Another sync of uvm to NetBSD. Just minor fiddling, no major changes.art2001-11-071-6/+10
|
* Minor sync to NetBSD.art2001-11-061-23/+63
|
* vm_pager.h no moremickey2001-08-121-1/+22
|
* Various random fixes from NetBSD.art2001-08-111-5/+7
| | | | Including support for zeroing pages in the idle loop (not enabled yet).
* Add a new type voff_t (right now it's typedefed as off_t) used for offsetsart2001-08-061-11/+11
| | | | | | | | into objects. Gives the possibilty to mmap beyond the size of vaddr_t. From NetBSD.
* Add support for disabling swap devices (swapctl -d).art2001-07-261-3/+3
| | | | | Improve error handling on I/O errors to swap. From NetBSD
* Sync style, typo, and comments a little closer to NetBSD. art@ oksmart2001-03-221-3/+2
|
* Protect protypes, certain macros, and inlines from userland. Checked userlandsmart2001-03-091-2/+5
| | | | with a 'make build'. From NetBSD. art@ ok
* $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-8/+1
| | | | | 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/+158