vmw_bo_dirty_pre_unmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:

xoxo, your vmw_bo_dirty_pre_unmap(9) bestie πŸ’– β€” sourced from ./drivers/gpu/drm/vmwgfx, dated October 2026. 🫢

πŸ“¦ where this page comes from