migrate_vma_finalize(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to migrate_vma_finalize(9) from the Kernel API Manual πŸ’… this one is all about restoring a CPU page table entry. iconic cleanup behavior, honestly.


πŸŽ€ SYNOPSIS πŸŽ€

void migrate_vma_finalize (struct migrate_vma *migrate );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • migrate β€” the migrate struct containing, literally, all the migration information 🫢

🌸 DESCRIPTION 🌸

So here’s the vibe: this replaces the special migration pte entry with either a mapping to the new page if migration was successful for that page, or with a mapping to the original page otherwise. conditional queen πŸ‘‘

It also unlocks the pages and puts them back on the lru, or β€” for device pages β€” drops the extra refcount. multitasking icon behavior fr fr ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./mm/migrate_device.c:


cute little sign-off bestie: this page came from source/version ./mm and is dated October 2026 πŸ—“οΈπŸ’– migrate_vma_finalize(9) said what it said, and it ate. periodt 🫢🌈

πŸ“¦ where this page comes from