pcpu_post_map_flush(9)
π pcpu_post_map_flush(9) π
okay so bestie, welcome to the Kernel API Manual entry for pcpu_post_map_flush(9) β it's giving βpages just got mapped, now flush the cacheβ energy, and honestly? iconic. π
π NAME π
pcpu_post_map_flush β flush cache after mapping. no cap, that's the whole assignment. β¨
β¨ SYNOPSIS β¨
void pcpu_post_map_flush (struct pcpu_chunk *chunk , int page_start ,
int page_end );
π§ ARGUMENTS π§
chunkβ thepcpu_chunkthat the regions to be flushed belong to. yes, we know whose pages these are, bestie. π«Άpage_startβ page index of the first page to be flushed. literally the starting page index. πΈpage_endβ page index of the last page to be flushed+ 1. yep, the+ 1is right there, bestie β not a typo, not a vibe, just math. π
π DESCRIPTION π
Pages [page_start,page_end) of chunk have been mapped. Flush cache. that's it, that's the moment. π₯
As with pcpu_pre_unmap_flush, TLB flushing also is done at once for the whole region. so yeah, the whole region gets that TLB flush treatment at once β no tiny piecemeal moment, fr fr. π
π SEE ALSO π
- Kernel file
./mm/percpu-vm.c 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_populate_chunk(9)pcpu_depopulate_chunk(9)pcpu_should_reclaim_chunk(9)
xoxo, your Kernel API Manual bestie π«Ά β this lil page lives under ./mm, dated October 2026, and it's literally pcpu_post_map_flush(9). periodt. π
π¦ 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