master
Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls has replaced it with a more strict mechanism, which happens to be lockless O(1) rather than micro-lock O(1)+O(log N). Also nop-out the sys_msyscall(2) guts, but leave the syscall around for a bit longer so that people can build through it, since ld.so(1) still wants to call it.
Fix some spelling.
remove uvm_addr_align() and uvm_addr_align_back()
De-ifdef UVM_AMAP_PPREF it's been enabled long enough to not go back
Make it possible to run the upper part of the fault handler in parallel.
Use pool caches for "struct vm_anon".
Push uvm_pageqlock dance inside uvm_pagefree().
Put back in the simplification of the aiodone daemon.
Remove some unneeded <uvm/uvm_extern.h> inclusions.
Return errno values rather than dying VM_PAGER_* in the pgo_fault() interfaces.
Chuck Cranor rescinded clauses in his license on the 2nd of February 2011 in NetBSD.
Let the last thread of a process teardown its VM space in exit1().
Wiring pages require a write lock.
Remove unused `anon' argument from uvmfault_unlockall().
Collect uvm_swapout_threads(), pmap_collect() and __HAVE_PMAP_COLLECT and take them behind the shed.
Add mimmutable(2) system call which locks the permissions (PROT_*) of memory mappings so they cannot be changed by a later mmap(), mprotect(), or munmap(), which will error with EPERM instead. ok kettenis
reorder uvm init to avoid use before initialisation.
procmap(8) -> procmap(1); spotted by Avon Robertson
Carefully prune sysctl nodes with #ifndef SMALL_KERNEL recover space lost to other bloaty software. ok bluhm
Remove misleading comment.
spelling
Use an iterator to scan the inactive list.
Fix the deadlock between uvn_io() and uvn_flush() by restarting the fault.
Introduce VM_KERNEL_SPACE_SIZE as a replacement for (VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS). This will allow these to no longer be constants in the future.
Add per-CPU caches to the pmemrange allocator.
Nullify `uanon' and `uobject' pointer while holding the corresponding lock.
Document locking of failing allocation requests and improve the comments.
Make out-of-swap checks more robust.
de-macro SWAP_KEY_*; ok miod@ mpi@
Fix core file writing when a file map into memory has later been truncated to be smaller than the mapping. Record which memory segments are backed by vnodes while walking the uvm map and later suppress EFAULT errors caused by the underlying file being truncated. okay miod@
Access to `u_flags' should be serialized by the `vmobjlock'.
Sync description of uvmexp.pdrevs with reality, that comment has been wrong since the CSRG days. ok tb@ millert@ jca@ kettenis@