softleaf_is_guard_marker(9)
π softleaf_is_guard_marker(9) β like, is this leaf entry a guard region marker or nah?
okay so real talk, we're in the Kernel API Manual, section 9 (the kernel-functions girlies β¨), and today's main character is softleaf_is_guard_marker. She's a little bool-returning bestie whose whole job is answering one (1) question about a leaf entry. That's it. That's the gig. And honestly? She ate. π
β¨ NAME β¨
softleaf_is_guard_marker β is this leaf entry a guard region marker? like, genuinely asking π§
πΈ SYNOPSIS πΈ
bool softleaf_is_guard_marker (softleaf_t entry );
she takes one thing and gives you back a bool, no cap, that's the whole vibe π¦
π ARGUMENTS π
entryβ the leaf entry. that's the one. the entry in question. the leaf entry she's gonna look at ππ
π RETURN π
trueβ yup, this leaf entry is a guard marker. slay βfalseβ nope, it's not a guard marker. better luck next time bestie π
(and that's literally it β it's true if the leaf entry is a guard marker, otherwise false. no surprises, no plot twists, just a clean little boolean π
)
π SEE ALSO π
okay this is the part where she tags literally everyone in the group chat. the kernel file to go look at is ./include/linux/leafops.h β that's home base π β and here's the whole friend group, every single one, no leaving anyone on read:
softleaf_mk_none(9)softleaf_from_pte(9)softleaf_to_pte(9)softleaf_from_pmd(9)softleaf_to_pmd(9)softleaf_is_none(9)softleaf_type(9)softleaf_is_swap(9)softleaf_is_migration_write(9)softleaf_is_migration_read(9)softleaf_is_migration_read_exclusive(9)softleaf_is_migration(9)softleaf_is_device_private_write(9)softleaf_is_device_private(9)softleaf_is_device_exclusive(9)softleaf_is_hwpoison(9)softleaf_is_marker(9)softleaf_to_marker(9)softleaf_has_pfn(9)softleaf_to_pfn(9)softleaf_to_page(9)softleaf_to_folio(9)softleaf_is_poison_marker(9)softleaf_is_uffd_wp_marker(9)softleaf_is_migration_young(9)softleaf_is_migration_dirty(9)pte_is_marker(9)pte_is_uffd_wp_marker(9)pte_is_uffd_marker(9)pmd_is_device_private_entry(9)pmd_is_migration_entry(9)softleaf_is_valid_pmd_entry(9)pmd_is_valid_softleaf(9)pmd_to_softleaf_folio(9)
like, go read them. they're iconic. iykyk ππ
ngl bestie, she's a pure little predicate β no side effects, no drama, just vibes and abool. but if you're ever unsure what a leaf entry actually is, go read./include/linux/leafops.hbefore you come for her π
okay that's the whole page!! mwah π«Ά this came from ./include/linux, dated October 2026, and she's softleaf_is_guard_marker(9) forever and always. periodt. πβ¨
π¦ 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