summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2022-07-24Revert simplification of the aiodone daemon it breaks swap on arm64.Martin Pieuchot
2022-07-20the _pad_ system calls from 2021/12/23 can go awayTheo de Raadt
2022-07-18Restrict pledge("vminfo") callers to read-only swapctl(2) operations.Jeremie Courreges-Anglas
2022-07-17Revert the changes made in rev 1.82. It is important to use pmap_enter(9)Mark Kettenis
2022-07-11Simplify the aiodone daemon which is only used for async writes.Martin Pieuchot
2022-07-11Remove asynchronous read support in uvm_swap_get().Martin Pieuchot
2022-07-07Revert previous attempt at serializing `uo_refs'.Martin Pieuchot
2022-06-30Reduce allocations and possible failures in uvm_pagermapin/out().Martin Pieuchot
2022-06-30Remove an incorrect KASSERT() introduced in previous.Martin Pieuchot
2022-06-28Make sure uvm_swap_get() always sleep and do not return and error.Martin Pieuchot
2022-06-28Consider pmemrange regions when trying to free pages from the inactive list.Martin Pieuchot
2022-06-28Use new & shiny define for the maximum number of pages of a swap cluster.Martin Pieuchot
2022-06-28Pre-allocate pages in DMA-reachable region to ensure progress in the swapper.Martin Pieuchot
2022-06-28Reserve a second segment for the page daemon.Martin Pieuchot
2022-06-28Move the guts of uvm_aio_aiodone() into a separate function.Martin Pieuchot
2022-06-28Do not clean PG_BUSY before calling uvm_anon_release().Martin Pieuchot
2022-06-28Do not consider adjacent pages when doing a CoW.Martin Pieuchot
2022-06-27kbind(2): unlock syscall, push kernel lock down to binding loopScott Soule Cheloha
2022-06-07Remove uvm_km_valloc_prefer_wait(9) and uvm_km_free_wakeup(9) now thatMark Kettenis
2022-06-07Remove redundant check for free pages. The pmemrange code that is calledMark Kettenis
2022-06-02Take the size of allocation into account when checking the kernel reserve.Mark Kettenis
2022-05-14uvm_km_valloc(9), uvm_km_valloc_try(9), uvm_km_valloc_wait(9) andMark Kettenis
2022-05-12Consider BUFPAGES_DEFICIT in swap_shortage.Martin Pieuchot
2022-05-12Introduce uvm_pagedequeue() to reduce code duplication.Martin Pieuchot
2022-05-04Merge swap-backed and object-backed inactive page lists.Martin Pieuchot
2022-05-03Rate limit uvn_flush error during pageout messages. They occurAlexander Bluhm
2022-04-30Recheck PG_BUSY after locking the page.Martin Pieuchot
2022-04-28Always acquire the `vmobjlock' before incrementing an object's reference.Martin Pieuchot
2022-04-28Call uvm_pageactivate() from uvm_pageunwire() instead of rerolling it.Martin Pieuchot
2022-04-28Update uvmexp.swpgonly only once in uvm_swap_get().Martin Pieuchot
2022-04-19add missing unlock before returning in uvn_detach()Sebastien Marie
2022-04-11Remove trailing spaces.Martin Pieuchot
2022-04-04Replace KASSERT in uvm_fault_unwire_locked() with code that handles theMark Kettenis
2022-03-17In swap_io() allocate the buffer before doing encryption.Martin Pieuchot
2022-03-12Uncompress some one line comments to reduce the difference with NetBSD.Martin Pieuchot
2022-03-12Revert holding a read lock on the map while copying out data during sysctl(2).Martin Pieuchot
2022-03-11Hold a read lock on the map while copying out data during a sysctl(2) callMark Kettenis
2022-03-10Do not clear the PG_BUSY flag before passing the anon to uvm_anon_release().Martin Pieuchot
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-02-21Grab vmobjlocks with RW_DUPOK in vm_obj_wire() to silence WITNESSKlemens Nanni
2022-02-21interting -> insertingJonathan Gray
2022-02-18Convert KVA allocation to km_alloc(9).Mark Kettenis
2022-02-15Backout previous "Unwire with map lock held" (commitid: SsVz7dLGFgR21kFe)Klemens Nanni
2022-02-14Unwire with map lock heldKlemens Nanni
2022-02-11Backout previous "Unwire with map lock held" (commitid: eQBvWUwShD91dN9Z)Klemens Nanni
2022-02-11Backout previous "Assert vm map locks" (commitid: sRNBfzX2dJrxFDmb)Klemens Nanni
2022-02-10Assert vm map locksKlemens Nanni
2022-02-10Unwire with map lock heldKlemens Nanni
2022-02-03The sparc64 pmap at least requires the fault access_type to be aPhilip Guenther
2022-02-03Use UVM_KMF_TRYLOCK for consistencyKlemens Nanni