softleaf_is_poison_marker(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… softleaf_is_poison_marker(9) β€” Kernel API Manual, bestie edition 🧚

okay so real quick, before we get into it: this whole page lives in the Kernel API Manual (section 9, for the uninitiated πŸ’«), so that's the vibe. Now let's get into the actual tea πŸ“


✨ NAME ✨

softleaf_is_poison_marker β€” the little function that answers the question "is this leaf entry a poison marker?" and honestly? it eats every time πŸ’…


🌸 SYNOPSIS 🌸

bool softleaf_is_poison_marker (softleaf_t entry );

πŸŽ€ ARGUMENTS πŸŽ€

  • entry β€” the leaf entry. that's it, that's the whole argument. a leaf entry. hand it over and let the function do its thing 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so the poison marker gets set via UFFDIO_POISON β€” that's the how, that's the lore πŸ”₯

also important: this one is userfaultfd-specific, meaning it's not out here being universal, it's specifically for the userfaultfd crowd. iykyk πŸ’œ


⭐ RETURN ⭐

  • true β€” yup, that leaf entry is a poison marker πŸŽ‰
  • false β€” nope, it's literally not πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

starting with the file itself, the whole source of truth:

./include/linux/leafops.h

and now the full friend group, no one left out, periodt:


ngl bestie, if you're poking at leaf markers in general you're gonna want that whole list. it's giving "read the whole syllabus before the exam" 😭 but like, lovingly πŸ’–

okay that's the page!! mwah πŸ’‹ this one shipped out of ./include/linux and the version/date on it is October 2026 β€” so yeah, mark your calendars, future girlies will still be checking leaf entries for poison markers πŸ’€βœ¨ bye bestie, slay responsibly πŸŽ€

πŸ“¦ where this page comes from