tlb_flush_rmaps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to tlb_flush_rmaps(9) from the Kernel API Manual πŸ’– β€” and this page is here to tell you that tlb_flush_rmaps will do pending rmap removals after we have flushed the TLB ✨ no cap, that’s the whole name vibe.


πŸŽ€ SYNOPSIS πŸŽ€

void tlb_flush_rmaps (struct mmu_gather *tlb , struct vm_area_struct
       *vma );

πŸ’… ARGUMENTS πŸ’…

two args, both main characters 🫢:

  • tlb β€” the current mmu_gather.
  • vma β€” The memory area from which the pages are being removed.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay here’s the little logic note, and it’s lowkey giving β€œtrust the batching” 🧚:

Note that, because of how tlb_next_batch above works, we will never start multiple new batches with pending delayed rmaps. So we only need to walk through the current active batch and the original local one. That’s the walk, bestie β€” current active batch + original local one, no extra batch scrolling required πŸ’…πŸ”₯


🌸 SEE ALSO 🌸

go read these next, fr fr:


source/version ./mm Β· October 2026 Β· mwah, page signed off with love πŸ’‹πŸ«ΆπŸ’–

πŸ“¦ where this page comes from