pcpu_post_unmap_tlb_flush(9)
π NAME π
pcpu_post_unmap_tlb_flush β flush TLB after unmapping. Weβre chilling in the Kernel API Manual, bestie β¨
β¨ SYNOPSIS β¨
void pcpu_post_unmap_tlb_flush (struct pcpu_chunk *chunk , int page_start , int page_end );
π ARGUMENTS π
chunkβ thepcpu_chunkthat the regions to be flushed belong to π«Άpage_startβ page index of the first page to be flushedpage_endβ page index of the last page to be flushed + 1 π
π¦ DESCRIPTION π¦
Pages [page_start,page_end) of chunk have been unmapped. Flush the TLB for the regions, okay? This can be skipped if the area is to be returned to vmalloc, because vmalloc will handle TLB flushing lazily. No cap.
And just like with pcpu_pre_unmap_flush, TLB flushing is also done at once for the whole region. periodt π
π 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_map_pages(9)pcpu_post_map_flush(9)pcpu_populate_chunk(9)pcpu_depopulate_chunk(9)pcpu_should_reclaim_chunk(9)
xoxo, your girl from ./mm, October 2026, out here in the Kernel API Manual π
β¨ stay flushed, bestie π
π¦ 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