clean_record_pte(9)
π clean_record_pte(9) β Kernel API Manual π
πΈ NAME πΈ
clean_record_pteβ Clean a pte and record its address space offset in a bitmap
β¨ SYNOPSIS β¨
okay so the signature is literally this, bestie:
int clean_record_pte (pte_t *pte , unsigned long addr , unsigned long
end , struct mm_walk *walk );
π ARGUMENTS π
pteβ Pointer to the pteaddrβ The start of virtual address to be cleanendβ The end of virtual address to be cleanwalkβ pagetable walk callback argument
π¦ DESCRIPTION π¦
The function cleans a pte and records the range in virtual address space of touched ptes for efficient TLB flushes. No cap, that tracking is the whole vibe. π
It also records dirty ptes in a bitmap representing page offsets in the address_space, as well as the first and last of the bits touched. Iconic bookkeeping behavior, honestly. β¨
π₯ SEE ALSO π₯
- Kernel file
./mm/mapping_dirty_helpers.c struct wp_walk(9)wp_pte(9)struct clean_walk(9)wp_shared_mapping_range(9)clean_record_shared_mapping_range(9)
Thatβs the whole clean_record_pte(9) page, bestie β source/version ./mm, dated October 2026. Catch u later, fr fr π«Άπβ¨
π¦ 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