summaryrefslogtreecommitdiffstats
path: root/sys/uvm
AgeCommit message (Expand)AuthorFilesLines
2021-03-31Introduce UAO_USES_SWHASH() and use tabs instead of spaces in #defines.mpi1-25/+26
2021-03-26Remove parenthesis around return value to reduce the diff with NetBSD.mpi13-176/+176
2021-03-20Sync some comments in order to reduce the difference with NetBSD.mpi9-292/+463
2021-03-12spellingjsg11-27/+27
2021-03-05ansijsg1-9/+5
2021-03-04Modify `uvmexp.swpgonly' atomically, required for uvm_fault() w/o KERNEL_LOCK()mpi6-17/+24
2021-03-04Bring back previous fix for UVM vnode deadlock.mpi3-49/+95
2021-03-02Fix the deadlock between uvn_io() and uvn_flush() by restarting the fault.mpi2-5/+10
2021-03-02Revert the fix for the deadlock between uvn_io() and uvn_flush().mpi2-95/+44
2021-03-01If an anon is associated with a page, acquire its lock before any modification.mpi1-3/+34
2021-03-01Move the top part of uvm_fault_lower(), the lookup, in its own function.mpi1-76/+98
2021-02-23remove unused uvm_mapent_bias()jsg1-35/+1
2021-02-23Move `pgo_fault' handler outside of uvm_fault_lower().mpi1-25/+32
2021-02-16Comments & style cleanup, no functional change intended.mpi1-224/+284
2021-02-15Fix double unlock in uvmfault_anonget().mpi1-3/+3
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.mpi1-2/+2
2021-01-19(re)Introduce locking for amaps & anons.mpi8-98/+291
2021-01-16Move `access_type' to the fault context.mpi1-20/+20
2021-01-11Assert that the KERNEL_LOCK() is held in uao_set_swslot().mpi1-1/+3
2021-01-09Enforce range with sysctl_int_bounded in swap_encrypt_ctlgnezdo1-2/+3
2021-01-02uvm: uvm_fault_lower(): don't sleep on lboltcheloha1-2/+3
2020-12-28Use per-CPU counters for fault and stats counters reached in uvm_fault().mpi5-56/+147
2020-12-15Remove the assertion in uvm_km_pgremove().mpi1-2/+1
2020-12-14Grab the KERNEL_LOCK() or ensure it's held when poking at swap data structures.mpi3-8/+18
2020-12-08Use a while loop instead of goto in uvm_fault().mpi1-34/+23
2020-12-07Convert the per-process thread list into a SMR_TAILQ.mpi1-2/+2
2020-12-02Document that the page queue must only be locked if the page is managed.mpi1-5/+7
2020-12-01Turn uvm_pagealloc() mp-safe by checking uvmexp global with pageqlock held.mpi4-59/+62
2020-11-27Set the correct IPL for `pageqlock' now that it is grabbed from interrupt.mpi1-2/+2
2020-11-24Grab the `pageqlock' before calling uvm_pageclean() as intended.mpi5-11/+35
2020-11-19Move logic handling lower faults, case 2, to its own function.mpi1-63/+77
2020-11-16Remove Case2 goto, use a simple if () instead.mpi1-23/+17
2020-11-13Use a helper to look for existing mapping & return if there's an anon.mpi1-56/+81
2020-11-13Move the logic dealing with faults 1A & 1B to its own function.mpi1-151/+173
2020-11-13Introduce amap_adjref_anons() an helper to reference count amaps.mpi2-51/+61
2020-11-06Remove unused `anon' argument from uvmfault_unlockall().mpi3-25/+23
2020-10-26Fix a deadlock between uvn_io() and uvn_flush(). While faulting on aanton2-44/+95
2020-10-24We will soon have DRM on powerpc64.kettenis1-2/+3
2020-10-21move the backwards-stack vm_minsaddr check from hppa trap.c to uvm_grow(),deraadt1-1/+5
2020-10-21Constify and use C99 initializer for "struct uvm_pagerops".mpi7-41/+53
2020-10-21Move the top part of uvm_fault() (lookups, checks, etc) in their own function.mpi1-113/+170
2020-10-20Remove guard, uao_init() is called only once and no other function use one.mpi1-7/+1
2020-10-19Clear vmspace pointer in struct process before calling uvmspace_free(9).kettenis1-2/+4
2020-10-19Serialize accesses to "struct vmspace" and document its refcounting.mpi3-12/+31
2020-10-13typo in commentmpi1-2/+2
2020-10-12Use KASSERT() instead of if(x) panic() for NULL dereference checks.mpi1-20/+17
2020-10-09Remove unecesary includes.mpi1-8/+1
2020-10-07Do not release the KERNEL_LOCK() when mmap(2)ing files.mpi1-6/+11
2020-10-04Recent changes for PROT_NONE pages to not count against resource limits,deraadt1-2/+2
2020-09-29Introduce a helper to check if all available swap is in use.mpi4-18/+27