dat_test_age_gfn(9)
okay so welcome to the Kernel API Manual page for dat_test_age_gfn(9), bestie β this is the little function that checks if a guest memory range is out here looking young πβ¨
πΈ NAME πΈ
dat_test_age_gfn β Test young. literally thatβs the whole vibe check π
β¨ SYNOPSIS β¨
bool dat_test_age_gfn (union asce asce , gfn_t start , gfn_t end );
π ARGUMENTS π
asceβ the ASCE whose address range is to be tested. yes bestie, this is the one getting examined πstartβ the first guest frame of the range to check. starting point, main character energy βendβ the guest frame after the last in the range. note: itβs after the last, not the last itself β iykyk π«Ά
π CONTEXT π
called by KVM common code with the kvm mmu write lock held. so yeah β lock is held, context is giving very βknow your laneβ energy π
π RETURN π
true if any page in the given range is young, otherwise false.
so itβs a little yes/no moment: any young page in the range? true π¦ none? false π
π SEE ALSO π
the Kernel file ./arch/s390/kvm/gmap/dat.c is the spot, and you also gotta peek at:
dat_crstep_xchg_atomic(9)dat_entry_walk(9)_dat_walk_gfn_range(9)dat_perform_essa(9)dat_set_cmma_bits(9)
all the linked besties, no cap π
xoxo, your kernel bestie π β source/version: ./arch/s390/kvm/gmap, date: October 2026 π
π¦ 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