vmw_bo_dirty_pre_unmap(9)
β¨ NAME β¨
okay so vmw_bo_dirty_pre_unmap is the star of this Kernel API Manual page, and its whole deal is: write-protect and pick up dirty pages before an unmap_mapping_range operation. no cap, that's the vibe. π
πΈ SYNOPSIS πΈ
void vmw_bo_dirty_pre_unmap (struct vmw_bo *vbo , pgoff_t start ,
pgoff_t end );
π ARGUMENTS π
vboβ The buffer object, bestie. π«Άstartβ First page of the range within the buffer object.endβ Last page of the range within the buffer object + 1. yes, plus one, don't forget. β¨
π DESCRIPTION π
so here's the tea: if we're using the _PAGETABLE scan method, we may leak dirty pages when calling unmap_mapping_range. π this function makes sure we pick up all dirty pages. literally its whole job. π
π₯ SEE ALSO π₯
bestie, go read these next β the Kernel file and its whole friend group:
- Kernel file
./drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c struct vmw_bo_dirty(9)vmw_bo_dirty_scan_pagetable(9)vmw_bo_dirty_scan_mkwrite(9)vmw_bo_dirty_scan(9)vmw_bo_dirty_unmap(9)vmw_bo_dirty_add(9)vmw_bo_dirty_release(9)vmw_bo_dirty_transfer_to_res(9)vmw_bo_dirty_clear_res(9)
xoxo, your vmw_bo_dirty_pre_unmap(9) bestie π β sourced from ./drivers/gpu/drm/vmwgfx, dated October 2026. π«Ά
π¦ 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