mf_dax_kill_procs(9)
π 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β theaddress_spaceof the file that's in use. it's giving "who's the file in question" energy πindexβ the startingpgoffof the range inside the file. where the drama begins β¨countβ how long the range is, measured in units ofPAGE_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 πΈ
- Kernel file
./mm/memory-failure.c MF_ATTR_RO(9)get_hwpoison_page(9)memory_failure_pfn(9)memory_failure(9)memory_failure_queue(9)unpoison_memory(9)soft_offline_page(9)
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
- 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