tlb_flush_rmaps(9)
β¨ 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 currentmmu_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:
- Kernel file
./mm/mmu_gather.c tlb_remove_table_sync_rcu(9)tlb_gather_mmu(9)tlb_gather_mmu_fullmm(9)tlb_gather_mmu_vma(9)tlb_finish_mmu(9)
source/version ./mm Β· October 2026 Β· mwah, page signed off with love ππ«Άπ
π¦ 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