summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvmexp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use per-CPU counters for fault and stats counters reached in uvm_fault().mpi2020-12-281-1/+38
| | | | ok kettenis@, dlg@
* Grab the KERNEL_LOCK() or ensure it's held when poking at swap data structures.mpi2020-12-141-3/+4
| | | | | | | This will allow uvm_fault_upper() to enter swap-related functions without holding the KERNEL_LOCK(). ok jmatthew@
* Turn uvm_pagealloc() mp-safe by checking uvmexp global with pageqlock held.mpi2020-12-011-6/+10
| | | | | | | | | | | | | | Use a new flag, UVM_PLA_USERESERVE, to tell uvm_pmr_getpages() that using kernel reserved pages is allowed. Merge duplicated checks waking the pagedaemon to uvm_pmr_getpages(). Add two more pages to the amount reserved for the kernel to compensate the fact that the pagedaemon may now consume an additional page. Document locking of some uvmexp fields. ok kettenis@
* Document uvmexp.nswget without relying on implementation details.mpi2020-04-231-2/+2
| | | | | | Prompted by a question from schwarze@ ok deraadt@, schwarze@, visa@
* new sysctl for userland malloc flags, kernel part. ok millert@ deraadt@otto2018-11-061-2/+4
|
* Rename some unused fields in struct uvmexp tokrw2018-06-191-14/+13
| | | | | | | | | unusedNN. Missing man page bits pointed out by jmc@. Ports source scan by sthen@. ok deraadt@ guenther@
* Wait for RAM in uvm_fault when allocating uvm structures failsstefan2016-05-081-1/+2
| | | | | | | | | | | Only fail hard when running out of swap space also, as suggested by kettenis@ While there, let amap_add() return a success status and handle amap_add() errors in uvm_fault() similar to other out of RAM situations. These bits are needed for further amap reorganization diffs. lots of feedback and ok kettenis@
* decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hderaadt2014-07-081-0/+152
don't need to be married. ok guenther miod beck jsing kettenis