softleaf_is_hwpoison(9)
π softleaf_is_hwpoison(9)
okay so real talk, bestie β this is a page straight out of the Kernel API Manual (yes, that manual, the 9 one, kernel-space royalty π), and it's about one very specific little question: is this leaf entry a hardware poison entry? that's it. that's the whole vibe. let's get into it β¨
πΈ NAME πΈ
softleaf_is_hwpoison β the "hey, is this leaf entry a hardware poison entry?" check π§ͺπ
like, literally the entire function is that one question. no cap.
π SYNOPSIS π
bool softleaf_is_hwpoison (softleaf_t entry );
she takes a softleaf_t called entry, and she gives you back a bool. simple. iconic. π«Ά
β¨ ARGUMENTS β¨
entryβ the leaf entry. that's it, that's the whole argument. one (1) leaf entry, handed over for inspection π
π RETURN π
trueβ bestie, that leaf entry is a hardware poison entry ππ₯falseβ nope, it is not a hardware poison entry π
fr fr, that's the whole decision tree. two leaves, both valid.
π¦ SEE ALSO π¦
first up, the kernel file this whole family lives in:
./include/linux/leafops.h
and now the full squad β literally every one of them, because the leaf ops friend group is large and we love her for it π:
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_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_guard_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)
iykyk β go read a few, they're all lowkey serving π«Ά
ngl bestie, this one's a shortie, so there's no wild warnings or deprecated chaos here β just a clean liltrue/falsecheck. enjoy the peace while it lasts π
okay that's the page!! mwah π this came from the kernel API manual, filed under ./include/linux, dated October 2026, and yeah β the page name is softleaf_is_hwpoison(9), in case you forgot already π ily, go check your leaf entries π
π¦ 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