pcpu_populate_chunk(9)
π NAME π
okay so bestie, meet pcpu_populate_chunk(9) β straight out of the Kernel API Manual β¨. Its whole thing is to populate and map an area of a pcpu_chunk. that's the vibe π«Ά.
β¨ SYNOPSIS β¨
int pcpu_populate_chunk (struct pcpu_chunk *chunk , int page_start , int page_end , gfp_t gfp );
π ARGUMENTS π
chunkβ the chunk of interest πpage_startβ the start pagepage_endβ the end pagegfpβ allocation flags passed to the underlying memory allocator
π¦ DESCRIPTION π¦
For each cpu, it populates and maps pages [page_start,page_end) into chunk. no cap, that is literally the whole description and it ate π
.
π CONTEXT π
Heads up, bestie: the context is pcpu_alloc_mutex, and it does gfp allocation. keep that in mind, iykyk π.
πΈ SEE ALSO πΈ
Kernel file ./mm/percpu-vm.c β plus the whole friend group:
pcpu_get_pages(9)pcpu_free_pages(9)pcpu_alloc_pages(9)pcpu_pre_unmap_flush(9)pcpu_unmap_pages(9)pcpu_post_unmap_tlb_flush(9)pcpu_map_pages(9)pcpu_post_map_flush(9)pcpu_depopulate_chunk(9)pcpu_should_reclaim_chunk(9)
mwah π sign-off from source ./mm, October 2026, for pcpu_populate_chunk(9) β out β¨.
π¦ 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