vmf_insert_pfn_pmd(9)
NAME πΈ
okay so bestie, this is vmf_insert_pfn_pmd(9) from the Kernel API Manual β the name line is literally vmf_insert_pfn_pmd - insert a pmd size pfn π
β¨. No cap, that's the whole vibe.
SYNOPSIS β¨
Here's the exact signature, bestie β keep it cozy in code:
vm_fault_t vmf_insert_pfn_pmd (struct vm_fault *vmf , unsigned long pfn , bool write );
ARGUMENTS π
vmfβ the structure describing the fault π«Άpfnβ thepfnto insert πwriteβ whether it's a write fault βοΈ
DESCRIPTION π
So the job is literally: insert a pmd size pfn β¨. See vmf_insert_pfn for additional info π«Ά.
RETURN π₯
Returns a vm_fault_t value, periodt π
.
SEE ALSO π¦
Kernel file ./mm/huge_memory.c plus these iconic references:
vmf_insert_pfn_pud(9)vmf_insert_folio_pud(9)touch_pmd(9)zap_huge_pmd(9)__split_unmapped_folio(9)folio_check_splittable(9)__folio_split(9)folio_split_unmapped(9)folio_split(9)min_order_for_split(9)
okay that's the page, bestie π«Ά. Source/version vibes: ./mm, dated October 2026, all for vmf_insert_pfn_pmd(9) ππ
. Now go slay those page-table moments β¨.
π¦ 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