alloc_cpu_rmap(9)
π alloc_cpu_rmap(9) π
okay so welcome to the Kernel API Manual corner of the group chat, bestie. This page is for alloc_cpu_rmap(9), and it's lowkey iconic for one thing: allocate a CPU affinity reverse-map. no cap π
β¨ NAME β¨
alloc_cpu_rmap β allocate CPU affinity reverse-map. that's the whole main-character moment, periodt π
π SYNOPSIS π
the signature is literally giving:
struct cpu_rmap * alloc_cpu_rmap (unsigned int size , gfp_t flags );
π§ ARGUMENTS π§
sizeβ Number of objects to be mapped. slay, that's the count bestie β¨flagsβ Allocation flags e.g.GFP_KERNEL. yes, the allocation-flags situation πΈ
π SEE ALSO π
the whole friend group, in the exact order:
- Kernel file
./lib/cpu_rmap.c cpu_rmap_release(9)cpu_rmap_get(9)cpu_rmap_put(9)cpu_rmap_add(9)cpu_rmap_update(9)free_irq_cpu_rmap(9)irq_cpu_rmap_notify(9)irq_cpu_rmap_release(9)irq_cpu_rmap_remove(9)irq_cpu_rmap_add(9)
that's the whole page, bestie π«Ά source/version ./lib, dated October 2026, for alloc_cpu_rmap(9). mwah π
π¦ 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