kvm_pgd_init(9)
π« kvm_pgd_init(9) π«
okay so this is a page from the Kernel API Manual, and honestly? she's short, she's sweet, and she's doing exactly one (1) job. let's get into it π
πΈ NAME πΈ
kvm_pgd_init β initialise the KVM GPA page directory, bestie. that's it, that's the whole vibe β¨
π¦ SYNOPSIS π¦
void kvm_pgd_init (void *page );
π ARGUMENTS π
pageβ a pointer to the page directory (PGD) for the KVM GPA. like, hand her the PGD and she'll take it from there π«Ά
π₯ DESCRIPTION π₯
So what she actually does: kvm_pgd_init initialises a KVM GPA page directory and fills it with pointers to the invalid table β meaning it represents no mappings at all. empty. blank slate. main character energy before anything happens π
It's similar to pgd_init, however (and this is the important part, don't skip it π) it initialises all the page directory pointers, not just the ones corresponding to the userland address space. Why? because this is for the guest physical address space rather than a virtual address space. iykyk β¨
π SEE ALSO π
- Kernel file
./arch/mips/kvm/mmu.c kvm_pgd_alloc(9)kvm_mips_walk_pgd(9)kvm_mips_flush_gpa_pt(9)kvm_mips_mkclean_gpa_pt(9)kvm_arch_mmu_enable_log_dirty_pt_masked(9)_kvm_mips_map_page_fast(9)kvm_mips_map_page(9)kvm_mips_migrate_count(9)
and that's the whole page, no cap π she lives in ./arch/mips/kvm, dated October 2026, and this little manual entry ate, fr fr π see u in the group chat, 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