mshv_region_range_fault(9)
πΈ NAME πΈ
Okay bestie, welcome to the mshv_region_range_fault(9) page from the Kernel API Manual π. mshv_region_range_fault is literally the function that handles memory range faults for a given region. Periodt.
β¨ SYNOPSIS β¨
Like, here's the signature, no cap:
int mshv_region_range_fault (struct mshv_mem_region *region , u64
page_offset , u64 page_count );
π ARGUMENTS π
regionβ pointer to the memory region structure. Iconic.page_offsetβ offset of the page within the region.page_countβ number of pages to handle.
π¦ DESCRIPTION π¦
Okay so here's the tea: this function resolves memory faults for a specified range of pages within a memory region. It uses HMM (Heterogeneous Memory Management) to fault in the required pages, and it updates the region's page array. Literally the main character energy of fault handling π .
π RETURN π
0 on success, negative error code on failure. Slay on success, sad vibes on failure π.
π SEE ALSO π
Kernel file ./drivers/hv/mshv_regions.c, plus these iconic pals: mshv_chunk_stride(9), mshv_region_process_chunk(9), mshv_region_process_range(9), and mshv_region_interval_invalidate(9) π«Ά.
Cute sign-off: source/version ./drivers/hv, date October 2026 β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms