pcpu_chunk_nr_blocks(9)
hey bestie π welcome to pcpu_chunk_nr_blocks(9), straight outta the Kernel API Manual. no cap, this page is short and iconic.
π NAME π
pcpu_chunk_nr_blocks β converts nr_pages to # of md_blocks. periodt β¨
β¨ SYNOPSIS β¨
int pcpu_chunk_nr_blocks (struct pcpu_chunk *chunk );
π ARGUMENTS π
chunkβ the chunk of interest, bestie π keep ur eyes on this one.
π¦ DESCRIPTION π¦
okay so this conversion is from the number of physical pages that the chunk serves to the number of bitmap blocks used. that's the vibe: physical pages β bitmap blocks, and it ate π
π SEE ALSO π
- Kernel file
./mm/percpu-internal.h:pcpu_nr_pages_to_map_bits(9),pcpu_chunk_map_bits(9),pcpu_obj_full_size(9)β go give these besties a read, iykyk π
mwah π«Ά this cutie is from ./mm (source/version), dated October 2026, and it's pcpu_chunk_nr_blocks(9) β bye bestie, slay responsibly π
π¦ 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