cmm_alloc_pages(9)
π cmm_alloc_pages(9) β Kernel API Manual, but make it make sense
okay so bestie, gather round, because we're looking at cmm_alloc_pages from the Kernel API Manual and honestly? It's giving "short but mysterious." Let's get into it π«Ά
β¨ NAME β¨
cmm_alloc_pages β allocate pages and mark them as loaned πΈ
Like, it grabs you some pages and then officially labels them "loaned," no cap.
π SYNOPSIS π
long cmm_alloc_pages (long nr );
That's it. That's the whole vibe. One function, one argument, returns a long. Iconic minimalism tbh π
π¦ ARGUMENTS π¦
nrβ the number of pages to allocate. That's the whole assignment. Tell it how many pages you want, bestie, and it'll do the thing πβ¨
π DESCRIPTION π
Okay so here's where the plot thickens (and also where the page justβ¦ stops? π). What we've got is:
Return value: number of pages requested to be allocated which were not
β¦and that's literally where the sentence ends. Not me leaving you on a cliffhanger ππ That's genuinely all the text there is, so I'm not gonna invent the rest β fr fr, no making stuff up on my watch. What we do know: the return value is a count of pages that were requested to be allocated and were not [something]. Fill in the blank at your own risk, bestie π
π SEE ALSO π
More cmm content for your reading pleasure, all lowercase and all linked:
- Kernel file
./arch/powerpc/platforms/pseries/cmm.cβ the main character itself π₯ cmm_free_pages(9)cmm_oom_notify(9)cmm_get_mpp(9)cmm_thread(9)cmm_sysfs_register(9)cmm_unregister_sysfs(9)cmm_reboot_notifier(9)cmm_memory_cb(9)cmm_init(9)cmm_exit(9)cmm_set_disable(9)
That's eleven whole functions plus a file β a whole friend group, honestly ππ
tiny vibe check π§ This page literally ends mid-sentence in DESCRIPTION. That's not me being lazy, that's the source material being mysterious. Preserve the mystery. Periodt. π
and that's the whole page, bestie!! sign-off time: this one lives in ./arch/powerpc/platforms/pseries, and the date stamp on it is October 2026 β so it's somehow from the future AND from powerpc. main character energy fr fr ππ¦ mwah, go allocate some pages π
π¦ 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