tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
uvm
/
at
master
44 files
uvm.h
new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable.
3 years ago
uvm_addr.c
Assert the VM map lock is held in function used by mmap/mprotect/munmap.
3 years ago
uvm_addr.h
Remove uaddr_hint allocator
9 years ago
uvm_amap.c
Introduce and use uvm_pagewait() where PG_WANTED is set.
3 years ago
uvm_amap.h
(re)Introduce locking for amaps & anons.
5 years ago
uvm_anon.c
Remove parenthesis around return value to reduce the diff with NetBSD.
5 years ago
uvm_anon.h
(re)Introduce locking for amaps & anons.
5 years ago
uvm_aobj.c
static inline, not inline static
3 years ago
uvm_aobj.h
Revert simplification of the aiodone daemon it breaks swap on arm64.
3 years ago
uvm_ddb.h
Remove some unneeded <uvm/uvm_extern.h> inclusions.
11 years ago
uvm_device.c
Use a per-UVM object lock to serialize the lower part of the fault handler.
4 years ago
uvm_device.h
Chuck Cranor rescinded clauses in his license on the 2nd of February 2011 in NetBSD.
11 years ago
uvm_extern.h
Add pinsyscall(2). With this you can tell the kernel the location (start,len) of the syscall stub in libc.so for a specified syscall (using SYS_* notation). Only SYS_execve is supported at this time. ok gnezdo mortimer kettenis
3 years ago
uvm_fault.c
Assert the VM map lock is held in function used by mmap/mprotect/munmap.
3 years ago
uvm_fault.h
Remove unused `anon' argument from uvmfault_unlockall().
5 years ago
uvm_glue.c
Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise. Use that define to shunt uvm_swapout_threads(), which is a noop when pmap_collect() does nothing.
3 years ago
uvm_glue.h
Chuck Cranor rescinded clauses in his license on the 2nd of February 2011 in NetBSD.
11 years ago
uvm_init.c
Sync some comments in order to reduce the difference with NetBSD.
5 years ago
uvm_io.c
Add mimmutable(2) system call which locks the permissions (PROT_*) of memory mappings so they cannot be changed by a later mmap(), mprotect(), or munmap(), which will error with EPERM instead. ok kettenis
3 years ago
uvm_km.c
Introduce and use uvm_pagewait() where PG_WANTED is set.
3 years ago
uvm_km.h
reorder uvm init to avoid use before initialisation.
9 years ago
uvm_map.c
Do not held the vm_map lock while flushing pages in msync(2) and madvise(2).
3 years ago
uvm_map.h
On systems without xonly mmu hardware-enforcement, we can still mitigate against classic BROP with a range-checking wrapper in front of copyin() and copyinstr() which ensures the userland source doesn't overlap the main program text, ld.so text, signal tramp text (it's mapping is hard to distinguish so it comes along for the ride), or libc.so text. ld.so tells the kernel libc.so text range with msyscall(2). The range checking for 2-4 elements is done without locking (because all 4 ranges are immutable!) and is inexpensive.
3 years ago
uvm_meter.c
Use per-CPU counters for fault and stats counters reached in uvm_fault().
5 years ago
uvm_mmap.c
Delete obsolete /* ARGSUSED */ lint comments.
3 years ago
uvm_object.c
Grab vmobjlocks with RW_DUPOK in vm_obj_wire() to silence WITNESS
4 years ago
uvm_object.h
spelling
3 years ago
uvm_page.c
static inline, not inline static
3 years ago
uvm_page.h
Introduce and use uvm_pagewait() where PG_WANTED is set.
3 years ago
uvm_pager.c
Grab the mutex before iterating on the global list.
3 years ago
uvm_pager.h
Fix the deadlock between uvn_io() and uvn_flush() by restarting the fault.
4 years ago
uvm_param.h
Introduce VM_KERNEL_SPACE_SIZE as a replacement for (VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS). This will allow these to no longer be constants in the future.
11 years ago
uvm_pdaemon.c
Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise. Use that define to shunt uvm_swapout_threads(), which is a noop when pmap_collect() does nothing.
3 years ago
uvm_pmap.h
With the introduction of the PMAP_PREFER_{ALIGN,OFFSET} macros a long time ago, there are actually no more uses of the PMAP_PREFER() macro left in the kernel. Remove that macro but keep PMAP_PREFER as a simple #define for it to let uvm knows the PMAP_PREFER_{ALIGN,OFFSET} macros are available.
3 years ago
uvm_pmemrange.c
Take the size of allocation into account when checking the kernel reserve.
3 years ago
uvm_pmemrange.h
move uvm_pmemrange_addr from RB macros to RBT functions
9 years ago
uvm_swap.c
The uvm_swap_data_lock mutex can now be taken without holding the kernel lock. So it needs IPL_MPFLOOR to prevent lock ordering issues.
3 years ago
uvm_swap.h
Pre-allocate pages in DMA-reachable region to ensure progress in the swapper.
3 years ago
uvm_swap_encrypt.c
spelling
5 years ago
uvm_swap_encrypt.h
make SWAP_KEY_GET symmetrical with SWAP_KEY_PUT by having it call a function in uvm_swap_encrypt.c instead of doing stuff inline.
11 years ago
uvm_unix.c
Since the signal trampoline is now execute-only we no longer write it into core dumps. As a result backtraces through signal handlers no longer work in gdb and other debuggers.
3 years ago
uvm_vnode.c
Call vget(9) in uvn_put() to make sure we hold a reference if we're called by the pagedaemon for a persisting vnode. This prevents a panic in uvm_vnp_unache() since a persisting vnode has a reference count of zero. This should also prevent the vnode from being recycled from under our feet while we're doing I/O to it.
3 years ago
uvm_vnode.h
Access to `u_flags' should be serialized by the `vmobjlock'.
3 years ago
uvmexp.h
Use a rwlock and a mutex to serialize access to global swap variables.
3 years ago