crste_needs_unshadow(9)
π NAME π
okay bestie, welcome to crste_needs_unshadow(9) from the Kernel API Manual π«Ά this is the little helper that checks if the crste operations triggers unshadowing. yes, that's the whole vibe β¨
π¦ SYNOPSIS π¦
bool crste_needs_unshadow (union crste oldcrste , union crste newcrste );
π ARGUMENTS π
oldcrsteβ the previous value for the crste. the before pic πΈnewcrsteβ the new value for the crste. the glow-up pic β¨
π₯ DESCRIPTION π₯
so here's the tea β if the old crste did not have the vsie_notif bit set, return false: the page is not involved in vsie and thus should not trigger an unshadow operation. lowkey minding its own business π
conversely, if the bit is set, it can only be g3 memory, since dat tables are never mapped using large pages. that's just how it is, no cap π§
similar to the pgste.vsie_gmem case of pte_needs_unshadow, if the protection bit is changing or the new page is invalid, trigger an unshadow event. also trigger an unshadow event if the new crste does not have the vsie_notif bit set. it's giving "watch out, something's shifting" ππ₯
π RETURN π
it hands you back true if an unshadow event should be triggered, otherwise false. tiny bool, very main character energy πβ¨
π SEE ALSO π
- Kernel file
./arch/s390/kvm/gmap/gmap.h,enum gmap_flags(9),pte_needs_unshadow(9), andgmap_is_shadow_valid(9)π¦
shoutout to the source/version line ./arch/s390/kvm/gmap and the date October 2026 β that's the footer vibe, bestie ππ
π¦ 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