_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so _pte(9) is from the Kernel API Manual, and it's literally the useful constructor for union pte β€” a tiny little glow-up helper, no cap. It's giving β€œconstructor for union pte,” periodt. 🫢

✨ SYNOPSIS ✨

union pte _pte (kvm_pfn_t pfn , bool writable , bool dirty , bool
       special );

πŸŽ€ ARGUMENTS πŸŽ€

  • pfn β€” the pfn this pte should point to, fr fr.
  • writable β€” whether the pte should be writable. yes/no bool energy.
  • dirty β€” whether the pte should be dirty. is it dirty? this bool has the answer.
  • special β€” whether the pte should be marked as special. special little guy status: this bool.

πŸ¦‹ DESCRIPTION πŸ¦‹

The pte is also marked as young and present, bestie β€” both of those are in the mix.

If the pte is marked as dirty, it gets marked as soft-dirty too.

If the pte is not dirty, the hardware protect bit is set (independently of the write softbit); this way proper dirty tracking can be performed. proper dirty tracking, iconic.

🌸 RETURN 🌸

It returns a union pte value. that's the whole return, periodt.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/s390/kvm/gmap/dat.h struct vsie_rmap(9), idte_crste(9), crste_origin_large(9) β€” go read those too, iykyk.


mwah πŸ’‹ source/version: ./arch/s390/kvm/gmap; date: October 2026; page: _pte(9) β€” bye bestie! 🌈

πŸ“¦ where this page comes from