summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_swap.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a helper to check if all available swap is in use.mpi2020-09-291-1/+2
| | | | | | | This reduces code duplication, reduces the diff with NetBSD and will help to introduce locks around global variables. ok cheloha@
* Remove clause #3 from mrg@NetBSD license.mpi2019-12-051-3/+1
| | | | | | | In May 29 2008, Matthew R. Green removed it in NetBSD: github.com/IIJ-NetBSD/netbsd-src/commit/7ea20401d535da9996394136ef ok deraadt@
* new function uvm_hibswap() finds a the largest free zone in swap, whichderaadt2013-11-051-2/+2
| | | | | hibernate can use place the data. ok mlarkin
* #ifdef the uvm swap checker fn for hibernate only, to save space in kernelsmlarkin2012-07-111-1/+3
| | | | | | that don't use hibernate requested by and ok deraadt@
* add uvm_swap_check_range to scan for contig free space at end of swap.mlarkin2012-07-111-1/+2
| | | | | | will be needed shortly for hibernate. ok deraadt@
* Allow swapping to happen in the case where where we have more memoryoga2010-07-011-2/+2
| | | | | | | | | | | than we can realistically dma to. In the swap encrypt case we already bounce through a intermediate buffer for pageout, so just make sure that that buffer is constrained to dmaable memory. In the other cases we check to see if the memory is dmaable, then if not we bounce it. ok beck@, art@, thib@.
* Prune the in-use swap encryption keys in uvm_shutdown(), per deraadt@'s idea.miod2008-04-121-1/+2
|
* First round of __P removal in sysmillert2002-03-141-8/+8
|
* Merge in some parts of the ubc work that has been done in NetBSD that are notart2001-11-101-1/+2
| | | | | | | | | | 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-2/+2
|
* Add support for disabling swap devices (swapctl -d).art2001-07-261-3/+5
| | | | | 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-5/+4
|
* Protect protypes, certain macros, and inlines from userland. Checked userlandsmart2001-03-091-2/+7
| | | | with a 'make build'. From NetBSD. art@ ok
* $OpenBSD$niklas2001-01-291-0/+1
|
* postpone memory allocation for uvm swap encryption until it is turned on withprovos2000-03-181-0/+3
| | | | sysctl.
* Fix the NetBSD id strings.art2000-03-151-1/+0
|
* add OpenBSD tagsart1999-02-261-0/+1
|
* Import of uvm from NetBSD. Some local changes, some code disabledart1999-02-261-0/+42