vmemmap_remap_split(9)
π NAME π
okay so bestie, this is vmemmap_remap_split(9) from the Kernel API Manual, and it does exactly one iconic thing: it splits the vmemmap virtual address range [@start, @end) backing PMDs of the directmap into PTEs. thatβs the whole vibe. no cap. β¨
π SYNOPSIS π
int vmemmap_remap_split (unsigned long start , unsigned long end );
πΈ ARGUMENTS πΈ
startβ the start address of the vmemmap virtual address range that we want to remap. itβs where the range begins, bestie. π«Άendβ the end address of the vmemmap virtual address range that we want to remap. yes, itβs the other end. π
β¨ RETURN β¨
0on success β slay. β- a negative error code otherwise β not slay, but thatβs the deal. π
π¦ SEE ALSO π¦
related lore lives in the Kernel file ./mm/hugetlb_vmemmap.c, plus these pages:
struct vmemmap_remap_walk(9)vmemmap_remap_free(9)vmemmap_remap_alloc(9)hugetlb_vmemmap_restore_folio(9)hugetlb_vmemmap_restore_folios(9)hugetlb_vmemmap_optimize_folio(9)
thatβs it, bestie β source/version ./mm, dated October 2026. go split those ranges. periodt. ππβ¨
π¦ 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