dax_folio_reset_order(9)
π dax_folio_reset_order(9) β from the Kernel API Manual, bestie π
Okay so picture this: you're deep in the kernel, everything's a big compound folio, and you just need it broken back down to its order-0 roots. That's literally what this function does. Welcome to the group chat. π
β¨ NAME β¨
dax_folio_reset_order β Reset a compound DAX folio to order-0 pages. It's giving "undo the glow-up and go back to basics." π¦
πΈ SYNOPSIS πΈ
int dax_folio_reset_order (struct folio *folio );
π«Ά ARGUMENTS π«Ά
folioβ The folio to reset. This is your main character, the one getting the makeover reversal. π
π« DESCRIPTION π«
Bestie, listen. This function splits a compound folio back into individual order-0 pages. It clears the compound state (bye bye, big-page energy π) and restores the pgmap pointers. So it's literally the un-gluing of your folio back into its individual lil page babies. Obsessed with the precision honestly. π
β RETURN β
It returns the original folio order β and if it was already order-0, you get 0. No cap. π₯
π¦ SEE ALSO π¦
Kernel file ./fs/dax.c plus the whole friend group:
enum dax_wake_mode(9)dax_lock_folio(9)dax_layout_busy_page_range(9)dax_iomap_copy_around(9)dax_iomap_rw(9)dax_fault_iter(9)dax_iomap_fault(9)dax_finish_sync_fault(9)
iykyk, these are the folks you'll be vibing with next. π
Sign-off moment: this icon of a manpage comes from ./fs, dated October 2026. Periodt. πβ¨π
π¦ 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