MF_ATTR_RO(9)
π MF_ATTR_RO(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a macro page, it's giving "small but mighty" energy, and honestly? iconic. β¨
πΈ NAME πΈ
MF_ATTR_RO β the macro that creates a sysfs entry for each and every memory failure statistic. yes, each one. it's a whole roster situation and this macro is the casting director π
β¨ SYNOPSIS β¨
MF_ATTR_RO (_name );
that's it. that's the whole vibe. one argument, no drama π¦
π ARGUMENTS π
_nameβ the name of the file that's gonna live inside the per NUMA sysfs directory. literally just the name, that's the assignment, and it ate π
π SEE ALSO π
all the lore, in ./mm/memory-failure.c β go read the source, it's giving main character energy:
get_hwpoison_page(9)mf_dax_kill_procs(9)memory_failure_pfn(9)memory_failure(9)memory_failure_queue(9)unpoison_memory(9)soft_offline_page(9)
iykyk π₯
ngl bestie, this one's short and sweet β but every single detail is here, no cap. don't skip the SEE ALSO list, fr fr, those functions are the whole friend group π«Ά
kisses from the ./mm directory, mwah π β sourced straight from there, dated October 2026, and no I will not be calm about it. bye bestie, slay your sysfs entries πβ
π¦ 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