summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
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
2020-10-20Remove guard, uao_init() is called only once and no other function use one.Martin Pieuchot
2020-10-19Clear vmspace pointer in struct process before calling uvmspace_free(9).Mark Kettenis
2020-10-19Serialize accesses to "struct vmspace" and document its refcounting.Martin Pieuchot
2020-10-13typo in commentMartin Pieuchot
2020-10-12Use KASSERT() instead of if(x) panic() for NULL dereference checks.Martin Pieuchot
2020-10-09Remove unecesary includes.Martin Pieuchot
2020-10-07Do not release the KERNEL_LOCK() when mmap(2)ing files.Martin Pieuchot
2020-10-04Recent changes for PROT_NONE pages to not count against resource limits,Theo de Raadt
2020-09-29Introduce a helper to check if all available swap is in use.Martin Pieuchot
2020-09-25Use KASSERT() instead of if(x) panic() for sanity checks.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-14Since the issues with calling uvm_map_inentry_fix() without holding theMark Kettenis
2020-09-13Include <sys/systm.h> directly instead of relying on uvm_map.h to pull it.Martin Pieuchot
2020-09-12Add tracepoints in the page fault handler and when entries are added to maps.Martin Pieuchot
2020-07-06fix spellingTheo de Raadt
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-05-23Prevent km_alloc() from returning garbage if pagelist is empty.jan
2020-04-23Document uvmexp.nswget without relying on implementation details.Martin Pieuchot
2020-04-04Tweak the code that wakes up uvm_pmalloc sleepers in the page daemin.Mark Kettenis
2020-03-25Do not test against NULL a variable which is dereference before that.Martin Pieuchot
2020-03-24Use FALLTHROUGH in uvm_total() like it is done in uvm_loadav().Martin Pieuchot
2020-03-04Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.Mark Kettenis
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.Martin Pieuchot
2020-01-20struct vops is not modified during runtime so use const which moves eachClaudio Jeker
2020-01-16Use list for freeing pages in uvn_flush() to optimize freeing chunks ofMark Kettenis