dat_perform_essa(9)
π 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β theasceyou'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 theESSA_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:
dat_crstep_xchg_atomic(9)dat_entry_walk(9)_dat_walk_gfn_range(9)dat_test_age_gfn(9)dat_set_cmma_bits(9)
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
- 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