MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / handle_cow

Method handle_cow

src/aero_kernel/src/userland/vm.rs:695–731  ·  view source on GitHub ↗

Handler routine for a COW (Copy-On-Write) pages. A COW page is shared between multiple processes until a write occurs after which a private copy is made for the writing process. A COW page is recognised because the VMA for the region is marked writable even though the individual page table entry is not. ## Panics The provided `address` is not aligned to a page boundary.

(
        &mut self,
        offset_table: &mut OffsetPageTable,
        address: VirtAddr,
        copy: bool,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls 6

translateMethod · 0.80
as_vm_frameMethod · 0.80
ref_countMethod · 0.80
update_flagsMethod · 0.80
start_addressMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected