summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2022-12-08Call vget(9) in uvn_put() to make sure we hold a reference if we're calledMark Kettenis
2022-11-17With regret, place mutexes after struct vm_map fields which are inspectedTheo de Raadt
2022-11-17stack growth from setrlimit was never updated to set UVM_ET_STACK onTheo de Raadt
2022-11-04Assert the VM map lock is held in function used by mmap/mprotect/munmap.Martin Pieuchot
2022-10-31Fix VMMAP_DEBUG code to compile with not-so-recent changes.Martin Pieuchot
2022-10-24uvm_unmap_remove() traverses the entries in the start,end range scanningTheo de Raadt
2022-10-21Recent chrome renderers try to change some immutable RW region to R.Theo de Raadt
2022-10-21the debug "name" parameter to uvm_map_immutable() is no longer neededTheo de Raadt
2022-10-20Access to `u_flags' should be serialized by the `vmobjlock'.Martin Pieuchot
2022-10-16Rather than marking MAP_STACK on entries for sigaltstack() [2 days ago],Theo de Raadt
2022-10-15remove one of the debug messagesTheo de Raadt
2022-10-15During the MAP_STACK introduction in 2018, sigaltstack() became aTheo de Raadt
2022-10-11add missing unlock in swapmount()Jonathan Gray
2022-10-07Add mimmutable(2) system call which locks the permissions (PROT_*) ofTheo de Raadt
2022-10-07new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable.Theo de Raadt
2022-09-29There no longer is any KVM_ET_* to keep in sync with UVM_ET_*, soTheo de Raadt
2022-09-21Revert UVM_VNODE_CANPERSIST removal, it exposes an issue on arm64.Martin Pieuchot
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