softleaf_is_migration_write(9)
π softleaf_is_migration_write β the vibe check for writable migration leaves β¨
okay bestie, so you're poking around in the kernel API manual (specifically section 9, the Kernel API Manual, which is where all the cool internals live π«Ά) and you found softleaf_is_migration_write. iconic of you honestly. let's get into it π
πΈ NAME πΈ
softleaf_is_migration_write β literally just answers the question: is this leaf entry a writable migration entry? yes or no. that's the whole gig. no cap. π
π¦ SYNOPSIS π¦
bool softleaf_is_migration_write (softleaf_t entry );
that's it. one argument in, one bool out. she's lowkey elegant π
π ARGUMENTS π
entryβ a leaf entry. that's it, that's the whole parameter. hand her a leaf entry and she'll tell you what's up with it β¨
π₯ RETURN π₯
returns true if the leaf entry is a writable migration entry π and otherwise false π
that's the entire contract. no hidden vibes, no side quests, fr fr.
π SEE ALSO π
bestie there are so many siblings in this family, it's giving huge extended-family holiday dinner π and they all live in the kernel file ./include/linux/leafops.h β here's the whole crew, every single one, so you can go say hi:
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_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_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)
likeβ¦ that's the whole friend group. iykyk π
π§ btw this page came out of the./include/linuxsource tree, dated October 2026, and lives atsoftleaf_is_migration_write(9)β so if you ever need to cite her, that's the address, bestie π slay, go forth and 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