pte_is_uffd_marker(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

This is pte_is_uffd_marker(9), bestie, straight outta the Kernel API Manual β€” and it answers the iconic question: does this PTE entry encode a userfault-specific marker leaf entry? πŸ‘€βœ¨


✨ SYNOPSIS ✨

bool pte_is_uffd_marker (pte_t pte );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pte β€” the PTE entry you're checking. That's the whole vibe, no cap. πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

okay so real talk: it's useful to be able to determine which leaf entries encode UFFD-specific markers so we can handle these correctly. This function is literally the little bestie that does that vibe check for you. 🫢


🌈 RETURN 🌈

Returns true if this PTE entry is a UFFD-specific marker, otherwise false. Simple as that, periodt. πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

The kernel file ./include/linux/leafops.h is the main character here, and these functions are all linked in the group chat:


mwah πŸ’‹ this page is from the ./include/linux source tree, October 2026 edition, and it's serving full Kernel API Manual realness. bye bestie 🫢✨

πŸ“¦ where this page comes from