vmw_resource_dirty_update(9)
π vmw_resource_dirty_update β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual entry for vmw_resource_dirty_update, and honestly? it's giving "quietly important little helper" and i'm obsessed π
β¨ NAME β¨
vmw_resource_dirty_update β updates a resource's dirty tracker with a sequential range of touched backing store memory. no cap, that's literally the whole job π
πΈ SYNOPSIS πΈ
void vmw_resource_dirty_update (struct vmw_resource *res , pgoff_t start
, pgoff_t end );
like look at her. void return, three args, no drama. main character energy fr fr β¨
π¦ ARGUMENTS π¦
resβ the resource. the actual little guy being tracked, the whole reason we're here π«Άstartβ the first page touched. where the range begins, periodt πendβ the last page touched + 1. yes, plus one. that's the exclusive-ish end of the range, so don't come for me, it's literally in the spec π
lowkey important:endislast page + 1, not the last page. do NOT forget the+ 1or you will be off by one and that's the vibe killer of all vibe killers π
π₯ SEE ALSO π₯
the kernel file, bestie, the actual source:
./drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
and the whole friend group π:
vmw_resource_mob_attach(9)vmw_resource_mob_detach(9)vmw_resource_release_id(9)vmw_resource_alloc_id(9)vmw_resource_init(9)vmw_user_resource_lookup_handle(9)vmw_resource_buf_alloc(9)vmw_resource_do_validate(9)vmw_resource_unreserve(9)vmw_resource_check_buffer(9)vmw_resource_backoff_reservation(9)vmw_resource_do_evict(9)vmw_resource_validate(9)vmw_resource_unbind_list(9)vmw_query_readback_all(9)vmw_query_move_notify(9)vmw_resource_needs_backup(9)vmw_resource_evict_type(9)vmw_resource_evict_all(9)vmw_resource_unpin(9)vmw_res_type(9)vmw_resources_clean(9)
and that's the page, bestie π she ships from ./drivers/gpu/drm/vmwgfx, dated October 2026, and the whole thing is filed under vmw_resource_dirty_update(9). go forth and mark your pages dirty (in the sequential range sense) πβ¨π
π¦ 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