summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2021-06-16Change the prefix of UVM object functions to match NetBSD's.Martin Pieuchot
2021-06-15Use a macro to assert that given uobjs correspond to anonymous objects.Martin Pieuchot
2021-06-15Unref/free amaps before grabbing the KERNEL_LOCK().Martin Pieuchot
2021-05-31call drmbackoff() on powerpc64 as wellJonathan Gray
2021-05-22Use atomic operations for reference counting VM maps.Martin Pieuchot
2021-05-20Make use of uao_dropswap_range() in uao_free() instead of re-rolling it.Martin Pieuchot
2021-05-16panic does not require a \n at the end. When one is provided, it looks wrong.Theo de Raadt
2021-04-22Keep under #ifdef TMPFS functions to grow/shrink uaobj.Martin Pieuchot
2021-04-21Convert remaining uvm_km_zalloc(9) to km_alloc(9).Martin Pieuchot
2021-03-31Introduce UAO_USES_SWHASH() and use tabs instead of spaces in #defines.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-05ansiJonathan Gray
2021-03-04Modify `uvmexp.swpgonly' atomically, required for uvm_fault() w/o KERNEL_LOCK()Martin Pieuchot
2021-03-04Bring back previous fix for UVM vnode deadlock.Martin Pieuchot
2021-03-02Fix the deadlock between uvn_io() and uvn_flush() by restarting the fault.Martin Pieuchot
2021-03-02Revert the fix for the deadlock between uvn_io() and uvn_flush().Martin Pieuchot
2021-03-01If an anon is associated with a page, acquire its lock before any modification.Martin Pieuchot
2021-03-01Move the top part of uvm_fault_lower(), the lookup, in its own function.Martin Pieuchot
2021-02-23remove unused uvm_mapent_bias()Jonathan Gray
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-02-08Revert the convertion of per-process thread into a SMR_TAILQ.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-11Assert that the KERNEL_LOCK() is held in uao_set_swslot().Martin Pieuchot
2021-01-09Enforce range with sysctl_int_bounded in swap_encrypt_ctlgnezdo
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-15Remove the assertion in uvm_km_pgremove().Martin Pieuchot
2020-12-14Grab the KERNEL_LOCK() or ensure it's held when poking at swap data structures.Martin Pieuchot
2020-12-08Use a while loop instead of goto in uvm_fault().Martin Pieuchot
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-12-02Document that the page queue must only be locked if the page is managed.Martin Pieuchot
2020-12-01Turn uvm_pagealloc() mp-safe by checking uvmexp global with pageqlock held.Martin Pieuchot
2020-11-27Set the correct IPL for `pageqlock' now that it is grabbed from interrupt.Martin Pieuchot
2020-11-24Grab the `pageqlock' before calling uvm_pageclean() as intended.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-13Introduce amap_adjref_anons() an helper to reference count amaps.Martin Pieuchot
2020-11-06Remove unused `anon' argument from uvmfault_unlockall().Martin Pieuchot
2020-10-26Fix a deadlock between uvn_io() and uvn_flush(). While faulting on aanton
2020-10-24We will soon have DRM on powerpc64.Mark Kettenis
2020-10-21move the backwards-stack vm_minsaddr check from hppa trap.c to uvm_grow(),Theo de Raadt
2020-10-21Constify and use C99 initializer for "struct uvm_pagerops".Martin Pieuchot
2020-10-21Move the top part of uvm_fault() (lookups, checks, etc) in their own function.Martin Pieuchot