isolate_migratepages_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

isolate_migratepages_range β€” she isolates migrate-able pages inside a PFN range, and honestly? she ate. this is section 9 of the Kernel API Manual, bestie, so buckle up πŸ’…


✨ SYNOPSIS ✨

int isolate_migratepages_range (struct compact_control *cc , unsigned long start_pfn , unsigned long end_pfn );

like, that's the whole signature. no cap. πŸ¦‹


🌸 ARGUMENTS 🌸

  • cc β€” the compaction control structure. she carries the state, she's the main character here πŸ‘‘
  • start_pfn β€” the first PFN where the isolating begins. start is right there in the name, iykyk ✨
  • end_pfn β€” the one-past-last PFN. yes, one past. that's just how it is, don't fight it 🫢

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the little return-value menu, keep it in your notes:

  • -EAGAIN β€” returned when contented πŸ™ˆ
  • -EINTR β€” returned in case of a signal pending πŸ’€
  • -ENOMEM β€” returned when we could not allocate a page 😭
  • 0 β€” the good ending. she succeeded. slay 🌈

⭐ SEE ALSO ⭐

ngl all five of these are low-key obsessed with each other, check 'em out πŸ’–

<div align="center">🧚 from the ./mm girlies, dated October 2026 β€” stay compact, stay iconic, mwah πŸ’œ</div>

πŸ“¦ where this page comes from