summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_fault.c
AgeCommit message (Expand)Author
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
2015-08-21Remove the unused loan_count field and the related uvm logic. Most ofVisa Hankala
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-08Something is subtly wrong with this. On ramdisks, processes run out ofTheo de Raadt
2015-02-06Clear PQ_AOBJ before calling uvm_pagefree(), clearing up one false XXXTheo de Raadt
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-10-03Introduce __MAP_NOFAULT, a mmap(2) flag that makes sure a mapping will notMark Kettenis
2014-09-07typo in commentPhilip Guenther
2014-07-11Chuck Cranor rescinded clauses in his licenseJonathan Gray
2014-07-08bye bye UBC; ok beck dlgTheo de Raadt
2014-07-03It is important that we don't release the kernel lock between issuing aMark Kettenis
2014-05-08Fix some potential integer overflows caused by converting a page number intoMark Kettenis
2014-04-13compress code by turning four line comments into one line comments.Ted Unangst