mf_dax_kill_procs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’€ mf_dax_kill_procs(9) πŸ’€

okay so bestie, welcome to the Kernel API Manual β€” this one's a kernel function, section 9, and it's lowkey kind of iconic in a scary way 🫢


✨ NAME ✨

mf_dax_kill_procs β€” literally collects and kills the processes that are using this file range. yes. that's the whole job. no cap πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int mf_dax_kill_procs (struct address_space *mapping , pgoff_t index ,
       unsigned long count , int mf_flags );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mapping β€” the address_space of the file that's in use. it's giving "who's the file in question" energy πŸ“‚
  • index β€” the starting pgoff of the range inside the file. where the drama begins ✨
  • count β€” how long the range is, measured in units of PAGE_SIZE. yes, PAGE_SIZE, not bytes, she has her own units πŸ’…
  • mf_flags β€” the memory failure flags. the vibes/parameters of the whole operation 🚩

🌸 SEE ALSO 🌸

like, go read those too if you wanna understand the whole memory-failure friend group πŸ‘‘ iykyk


🧚 quick reminder bestie: this function kills processes. that's not a metaphor, that's the documented behaviour. handle with care fr fr 😭

mwah, that's the page! brought to you by ./mm, dated October 2026 β€” that's the source and the date, slay ⭐ till next time, stay hydrated and don't kill any processes you don't mean to πŸ’–πŸŽ€

πŸ“¦ where this page comes from