isolate_migratepages_range(9)
π 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 β
- Kernel file
./mm/compaction.cβ go read the source, it's giving lore π isolate_freepages_range(9)skip_isolation_on_order(9)isolate_migratepages_block(9)try_to_compact_pages(9)
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
- 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