summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2022-09-10Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise.Miod Vallat
2022-09-10Get rid of the extra vnode reference known as UVM_VNODE_CANPERSIST.Martin Pieuchot
2022-09-04spellingJonathan Gray
2022-08-31Introduce a function to trylock a page instead of duplicating the logic.Martin Pieuchot
2022-08-31Lock vmobjlock then check u_flags & UVM_VNODE_VALID in uvn_attachGreg Steuck
2022-08-31Refine the change in rev 1.125: the UVM mitigation for CoW faultingPhilip Guenther
2022-08-30Move duplicated code to free swap resources into its own function.Martin Pieuchot
2022-08-29Use a rwlock and a mutex to serialize access to global swap variables.Martin Pieuchot
2022-08-29static inline, not inline staticJonathan Gray
2022-08-22Simplify locking by using an intermediate lock variable.Martin Pieuchot
2022-08-19Grab the mutex before iterating on the global list.Martin Pieuchot
2022-08-15remove FSPACE macros, unused after uvm_map_sel_limits() removalJonathan Gray
2022-08-15remove unused uvm_aiobuf_poolJonathan Gray
2022-08-15remove unused uvm_map_sel_limits()Jonathan Gray
2022-08-07Use PMAP_PREFER_ALIGN() == 0 rather than !defined(PMAP_PREFER) to enable theMiod Vallat
2022-08-07Move fallback PMAP_PREFER definitions from uvm_map.c to uvm_pmap.h for themMiod Vallat
2022-08-06blist: use swblk_t type (defined in sys/blist.h)Sebastien Marie
2022-08-02Bring back the direct map optimization when PMAP_PREFER isn't defined.Martin Pieuchot
2022-08-01some ports bootstraps, and go internals, need a bit more time to adaptTheo de Raadt
2022-08-01Introduce and use uvm_pagewait() where PG_WANTED is set.Martin Pieuchot
2022-07-29Replace the swap extent(9) usage by a blist data structure.Sebastien Marie
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