softleaf_is_migration_dirty(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ softleaf_is_migration_dirty β€” the migration dirty-bit detector πŸ’…

okay so bestie, we're in the Kernel API Manual and this page is literally about softleaf_is_migration_dirty(9) β€” a tiny little function with one (1) job and it does it gorgeously. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

bool softleaf_is_migration_dirty (softleaf_t entry );

it's giving "small signature, big purpose" fr fr. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • entry β€” a leaf entry. that's it, that's the whole vibe. hand it a leaf entry and let it cook. πŸ“

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜•: if the architecture can actually support storing A/D bits inside migration entries, then this function figures out whether the dirty bit was set on the page table entry that got migrated. that's the whole quest. one question, answered honestly.

if your arch doesn't do A/D bits in migration entries, then this whole check is just not the moment β€” the support has to exist first, that's the deal. πŸ™ˆ

πŸ‘‘ RETURN πŸ‘‘

  • true β€” bestie, the entry does contain a dirty bit πŸ’…
  • false β€” nope, no dirty bit in there 🌈

literally a bool. iconic behaviour.


⭐ SEE ALSO ⭐

kernel file: ./include/linux/leafops.h β€” that's where the leafops live, mwah 🫢

the whole friend group, no one left out:


and that's the whole page, bestie πŸ§šπŸ’œ sign-off time: this one lives under ./include/linux and it's dated October 2026 β€” go read the others, they ate too. πŸ”₯

πŸ“¦ where this page comes from