dat_test_age_gfn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:

all the linked besties, no cap 🌈


xoxo, your kernel bestie πŸ’– β€” source/version: ./arch/s390/kvm/gmap, date: October 2026 πŸŽ€

πŸ“¦ where this page comes from