CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/09/11 11:04:35
Modified files:
sys/uvm : uvm_fault.c uvm_map.c uvm_map.h
Log message:
Upgrade the vm lock instead of doing an unlock/relock dance before amap_copy().
Also do not restart the page fault handling when the copy succeeded. This
slightly improves page fault performances.
UVM amaps are bounded in size and require larger VM map entries to be split
during page faults. This is why a write lock is necessary.
Tested by sthen@ in bulks, inputs from mlarkin@, ok kettenis@