__drm_gpusvm_range_remove(9)
πΈ __drm_gpusvm_range_remove β Kernel API Manual β¨
okay so bestie, welcome to the __drm_gpusvm_range_remove(9) page from the Kernel API Manual π
this one lives in the DRM/GPU corner of the kernel and it's honestly a little baddie of a macro. let's get into it π«Ά
β¨ NAME β¨
__drm_gpusvm_range_remove β Remove GPU SVM range π§Ήπ
β¨ SYNOPSIS β¨
void __drm_gpusvm_range_remove (struct drm_gpusvm_notifier *notifier ,
struct drm_gpusvm_range *range );
like, that's the whole signature. two pointers, zero drama. no cap π
β¨ ARGUMENTS β¨
notifierβ Pointer to the GPU SVM notifier structure π like, this is the notifier bestie we're operating onrangeβ Pointer to the GPU SVM range structure π and this is the range that's getting yeeted
β¨ DESCRIPTION β¨
okay so the actual tea β: this macro removes the GPU SVM range from the notifier RB tree and from the list. both. not one, not the other β both, periodt πβ¨
it's giving cleanup era, it's giving tidy vibes, it's giving "get this range out of my data structures" π₯
β¨ SEE ALSO β¨
bestie there are so many friends on this list, it's giving whole-group-chat energy ππ all of these are (9) sections unless noted:
- Kernel file
./drivers/gpu/drm/drm_gpusvm.cβ the source file itself, the main character π Overview(9)Locking(9)Partial Unmapping of Ranges(9)Examples(9)npages_in_range(9)drm_gpusvm_notifier_find(9)drm_gpusvm_range_find(9)drm_gpusvm_notifier_invalidate(9)drm_gpusvm_init(9)to_drm_gpusvm_notifier(9)drm_gpusvm_notifier_insert(9)drm_gpusvm_notifier_remove(9)drm_gpusvm_fini(9)drm_gpusvm_notifier_alloc(9)drm_gpusvm_notifier_free(9)to_drm_gpusvm_range(9)drm_gpusvm_range_insert(9)drm_gpusvm_range_alloc(9)drm_gpusvm_hmm_pfn_to_order(9)drm_gpusvm_check_pages(9)drm_gpusvm_scan_mm(9)drm_gpusvm_range_chunk_size(9)drm_gpusvm_driver_lock_held(9)drm_gpusvm_find_vma_start(9)drm_gpusvm_range_find_or_insert(9)__drm_gpusvm_unmap_pages(9)__drm_gpusvm_free_pages(9)drm_gpusvm_free_pages(9)drm_gpusvm_range_remove(9)drm_gpusvm_range_get(9)drm_gpusvm_range_destroy(9)drm_gpusvm_range_put(9)drm_gpusvm_pages_valid(9)drm_gpusvm_pages_valid_unlocked(9)drm_gpusvm_get_pages(9)drm_gpusvm_unmap_pages(9)drm_gpusvm_range_evict(9)drm_gpusvm_has_mapping(9)drm_gpusvm_range_set_unmapped(9)
ngl, go read the actual kernel docs for the deep lore β this page is just the vibe check π«
and that's the whole page, bestie π¦ mwah π this one shipped from ./drivers/gpu/drm and it's dated October 2026 β so like, from the future?? iconic behavior honestly πβ see u in the next manpage π
π¦ 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