MF_ATTR_RO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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