summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_fault.c
AgeCommit message (Expand)Author
2023-09-05Address the case 2b version of inconsistent view across threads ofPhilip Guenther
2023-09-02Zap anon pages mappings in uvm_anon_release() instead of in the fault handler.Martin Pieuchot
2022-11-04Assert the VM map lock is held in function used by mmap/mprotect/munmap.Martin Pieuchot
2022-08-31Refine the change in rev 1.125: the UVM mitigation for CoW faultingPhilip Guenther
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-04-04Replace KASSERT in uvm_fault_unwire_locked() with code that handles theMark Kettenis
2022-02-11Backout previous "Assert vm map locks" (commitid: sRNBfzX2dJrxFDmb)Klemens Nanni
2022-02-10Assert vm map locksKlemens Nanni
2022-02-03The sparc64 pmap at least requires the fault access_type to be aPhilip Guenther
2022-02-01Attempt to guarantee that on copy-on-write faulting, the new copyPhilip Guenther
2021-12-28Unlock bottom part of the fault handler.Martin Pieuchot
2021-12-17Do not try to unlock a NULL object.Martin Pieuchot
2021-12-15Use a per-UVM object lock to serialize the lower part of the fault handler.Martin Pieuchot
2021-10-12Fix the deadlock between uvn_io() and uvn_flush() by restarting the fault.Martin Pieuchot
2021-03-26Remove parenthesis around return value to reduce the diff with NetBSD.Martin Pieuchot
2021-03-20Sync some comments in order to reduce the difference with NetBSD.Martin Pieuchot
2021-03-12spellingJonathan Gray
2021-03-01Move the top part of uvm_fault_lower(), the lookup, in its own function.Martin Pieuchot
2021-02-23Move `pgo_fault' handler outside of uvm_fault_lower().Martin Pieuchot
2021-02-16Comments & style cleanup, no functional change intended.Martin Pieuchot
2021-02-15Fix double unlock in uvmfault_anonget().Martin Pieuchot
2021-01-19(re)Introduce locking for amaps & anons.Martin Pieuchot
2021-01-16Move `access_type' to the fault context.Martin Pieuchot
2021-01-02uvm: uvm_fault_lower(): don't sleep on lboltcheloha
2020-12-28Use per-CPU counters for fault and stats counters reached in uvm_fault().Martin Pieuchot
2020-12-08Use a while loop instead of goto in uvm_fault().Martin Pieuchot
2020-11-19Move logic handling lower faults, case 2, to its own function.Martin Pieuchot
2020-11-16Remove Case2 goto, use a simple if () instead.Martin Pieuchot
2020-11-13Use a helper to look for existing mapping & return if there's an anon.Martin Pieuchot
2020-11-13Move the logic dealing with faults 1A & 1B to its own function.Martin Pieuchot
2020-11-06Remove unused `anon' argument from uvmfault_unlockall().Martin Pieuchot
2020-10-21Move the top part of uvm_fault() (lookups, checks, etc) in their own function.Martin Pieuchot
2020-09-29Introduce a helper to check if all available swap is in use.Martin Pieuchot
2020-09-24Remove trailing white spaces.Martin Pieuchot
2020-09-22Spell inline correctly.Martin Pieuchot
2020-09-22Kill outdated comment, pmap_enter(9) doesn't sleep.Martin Pieuchot
2020-09-12Add tracepoints in the page fault handler and when entries are added to maps.Martin Pieuchot
2019-12-08Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-07-18R.I.P. UVM_WAIT(). Use tsleep_nsec(9) directly.cheloha
2019-02-03Always refault if relocking maps fails after IO. This fixes a regressionVisa Hankala
2018-10-31Add support to uvm to establish write-combining mappings. Use this in theMark Kettenis
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2017-07-20Accessing a mmap(2)ed file behind its end should result in a SIGBUSAlexander Bluhm
2016-09-16move the uvm_map_addr RB tree from RB macros to the RBT functionsDavid Gwynne
2016-05-08Wait for RAM in uvm_fault when allocating uvm structures failsStefan Kempf
2016-03-29Remove dead assignments and now unused variables.Charles Longeau
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2015-11-10UVM change needed for vmm.Mike Larkin
2015-09-09All our pmap implementations provide pmap_resident_count(), so removeMiod Vallat