⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

zero_copy_transfer

Function zero_copy_transfer 

Source
pub fn zero_copy_transfer(
    region: &SharedRegion,
    from_pid: ProcessId,
    to_pid: ProcessId,
    flags: TransferFlags,
) -> Result<()>
Expand description

Zero-copy transfer of memory region between processes

This function remaps pages from source to destination without copying data. It’s optimized for large transfers where copying would be expensive.