Skip to main content

handle_cow_fault

Function handle_cow_fault 

Source
pub fn handle_cow_fault(
    virt_addr: u64,
    address_space: &AddressSpace,
) -> Result<(), &'static str>
Expand description

Called from the page fault handler when a write fault occurs on a present page. Returns Ok(()) if the fault was successfully handled (COW resolution), or Err if it wasn’t a COW fault (real access violation).