ENUM KVM_PGTABLE_STAGE2_FLAGS(9)
π enum kvm_pgtable_stage2_flags β Stage-2 page-table flags β¨
okay bestie so this is a page from the Kernel API Manual, and it's about enum kvm_pgtable_stage2_flags β literally just the flags you can slap onto a Stage-2 page table π
πΈ SYNOPSIS πΈ
enum kvm_pgtable_stage2_flags {
KVM_PGTABLE_S2_IDMAP ,
KVM_PGTABLE_S2_AS_S1
};
like, that's the whole thing. two constants, no cap. π«Ά
β¨ Constants β¨
KVM_PGTABLE_S2_IDMAPβ the "only use identity mappings" girlie π that's the entire personality of this flag, idmap and nothing else.KVM_PGTABLE_S2_AS_S1β this one's giving "match her energy": the final memory attributes are the ones from Stage-1. iconic π₯
π¦ SEE ALSO π¦
the whole friend group π (and yes, we're listing every single one, iykyk):
- Kernel file
./arch/arm64/include/asm/kvm_pgtable.h struct kvm_pgtable_mm_ops(9)enum kvm_pgtable_prot(9)enum kvm_pgtable_walk_flags(9)struct kvm_pgtable_walker(9)struct kvm_pgtable(9)kvm_pgtable_hyp_init(9)kvm_pgtable_hyp_destroy(9)kvm_pgtable_hyp_map(9)kvm_pgtable_hyp_unmap(9)kvm_get_vtcr(9)kvm_pgtable_stage2_pgd_size(9)__kvm_pgtable_stage2_init(9)kvm_pgtable_stage2_destroy(9)kvm_pgtable_stage2_destroy_range(9)kvm_pgtable_stage2_destroy_pgd(9)kvm_pgtable_stage2_free_unlinked(9)kvm_pgtable_stage2_create_unlinked(9)kvm_pgtable_stage2_map(9)kvm_pgtable_stage2_annotate(9)kvm_pgtable_stage2_unmap(9)kvm_pgtable_stage2_wrprotect(9)kvm_pgtable_stage2_mkyoung(9)kvm_pgtable_stage2_test_clear_young(9)kvm_pgtable_stage2_relax_perms(9)kvm_pgtable_stage2_split(9)kvm_pgtable_walk(9)kvm_pgtable_get_leaf(9)kvm_pgtable_stage2_pte_prot(9)kvm_pgtable_hyp_pte_prot(9)kvm_tlb_flush_vmid_range(9)
and that's the whole vibe check π this lil cutie lives in ./arch/arm64/include/asm, that's the source, and the date on it is October 2026 β mwah, go read your page tables bestie πππ¦
π¦ 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