vmemmap_remap_split(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 ✨

  • 0 on 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:


that’s it, bestie β€” source/version ./mm, dated October 2026. go split those ranges. periodt. πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from