dat_perform_essa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dat_perform_essa(9) β€” Kernel API Manual

okay so bestie, welcome to dat_perform_essa(9) from the Kernel API Manual ✨ this is the one that does the ESSA actions on the PGSTE, and honestly it's giving main character energy in the s390 KVM gmap world πŸ¦‹


✨ NAME ✨

dat_perform_essa β€” Perform ESSA actions on the PGSTE. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

int dat_perform_essa (union asce asce , gfn_t gfn , int orc , union
       essa_state *state , bool *dirty );

πŸŽ€ ARGUMENTS πŸŽ€

  • asce β€” the asce you're operating on, like this is the thing we're doing the whole moment for πŸ’–
  • gfn β€” the guest page frame to operate on. yes, that guest page frame 🫢
  • orc β€” the specific action to perform, bestie. which one? check the ESSA_SET_* macros, that's where the tea is πŸ“
  • state β€” the storage attributes that get returned to the guest ✨
  • dirty β€” returns whether the function dirtied a previously clean entry πŸ‘€ lowkey important

πŸ’œ CONTEXT πŸ’œ

called with kvm->mmu_lock held. no cap, that's a requirement, not a suggestion πŸ”₯


⭐ RETURN ⭐

  • 1 β€” if the page state has been altered and the page is to be added to the CBRL πŸ‘‘
  • 0 β€” if the page state has been altered, but the page is not to be added to the CBRL 🌈
  • -1 β€” if the page state has not been altered and the page is not to be added to the CBRL πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./arch/s390/kvm/gmap/dat.c β€” and the whole squad fr fr:


okay that's the whole page, mwah πŸ’‹ this lives in ./arch/s390/kvm/gmap and it's stamped October 2026 β€” iykyk πŸ§šπŸ’œ

πŸ“¦ where this page comes from