cmm_sysfs_register(9)
β¨ cmm_sysfs_register(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's short and sweet, literally a little baby function page, but it's lowkey important so let's get into it π«Ά
πΈ NAME πΈ
cmm_sysfs_register β registers with sysfs π like, that's the whole gig, that's the vibe, that's what she does β¨
π¦ SYNOPSIS π¦
int cmm_sysfs_register (struct device *dev );
that's it, that's the signature, no cap π₯
π ARGUMENTS π
devβ okay so bestie, the manpage literally says-- undescribed --π like the docs said "we don't know her, never met her" π so fr fr, nobody wrote down whatdevdoes here. It's astruct device *and that's all we're getting. Iconic of them tbh. Not me reading the source to find outβanyway π
π DESCRIPTION π
so like, here's the tea β:
- Return value:
0on success / other on failure π
that's it. that's the description. she's a woman of few words and honestly? respect π
ngl if you only remember one thing, remember the return value bestie β 0 means slay, anything else means something went sideways π keep an eye on it π₯
π SEE ALSO π
ooh okay this is where it gets juicy, the whole powerpc pseries cmm girlies are linked up π
- Kernel file:
./arch/powerpc/platforms/pseries/cmm.cπ cmm_alloc_pages(9)β¨cmm_free_pages(9)π¦cmm_oom_notify(9)πcmm_get_mpp(9)πΈcmm_thread(9)π§cmm_unregister_sysfs(9)πcmm_reboot_notifier(9)βcmm_memory_cb(9)πcmm_init(9)π±cmm_exit(9)π«Άcmm_set_disable(9)π
like a whole friend group, periodt π
mwah, that's the whole page bestie π catch you in ./arch/powerpc/platforms/pseries β doc drop was October 2026 and honestly? she ate πβ¨
π¦ 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