vmw_resource_evict_type(9)
π vmw_resource_evict_type(9) β from the Kernel API Manual, bestie
okay so picture this: it's a kernel API manual page, it's called vmw_resource_evict_type, and it's here to teach you how to kick every resource of one specific type out the door. yes bestie, we're evicting. π§Ήβ¨
β¨ NAME β¨
vmw_resource_evict_type β Evict all resources of a specific type. that's it, that's the whole job, and she does it iconically. π
πΈ SYNOPSIS πΈ
void vmw_resource_evict_type (struct vmw_private *dev_priv , enum
vmw_res_type type );
π ARGUMENTS π
dev_privβ Pointer to a device private struct. she needs to know which device we're talking about, okay? π«Άtypeβ The resource type to evict. you point at one type and that's the whole population getting the vibe check. π
π¦ DESCRIPTION π¦
okay so here's the situation: either you're trying to avoid thrashing starvation, or you're in the middle of the hibernation sequence β and in both cases this function is gonna try to evict all the evictable resources of one specific type. not all of them, not random ones, just the ones matching type. lowkey satisfying ngl. π₯
note the word try β the original says "try to evict," so we're not out here promising anything. π
π SEE ALSO π
the whole friend group, fr fr β go give them a follow:
Kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_resource.cvmw_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_all(9)vmw_resource_unpin(9)vmw_res_type(9)vmw_resource_dirty_update(9)vmw_resources_clean(9)
and that's the whole page, bestie π this one lives in ./drivers/gpu/drm/vmwgfx and she was dated October 2026 β so like, future era behavior only. mwah πβ¨
π¦ 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