pcpu_post_map_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the pcpu_chunk that 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 + 1 is 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 🌈


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