drm_gpusvm_notifier_find(9)
π drm_gpusvm_notifier_find β a Kernel API Manual moment πΈ
okay so bestie, welcome to the drm_gpusvm_notifier_find(9) page β¨ this is one of those little helper functions in the kernel's GPU SVM corner of the world, and honestly? it's giving "where's my notifier" energy ππ
π SYNOPSIS π
struct drm_gpusvm_notifier * drm_gpusvm_notifier_find (struct drm_gpusvm
*gpusvm , unsigned long start , unsigned long end );
like, you hand it a GPU SVM and a range, and it goes looking πβ¨
πΈ ARGUMENTS πΈ
gpusvmβ pointer to the GPU SVM structure π«Ά this is your main character, the thing we're searching inside.startβ start address of the notifier. the beginning of the vibe check πendβ end address of the notifier. where the search wraps up π
β RETURN β
a pointer to the drm_gpusvm_notifier if found, or NULL π no notifier, no problem β you just get NULL back. periodt.
ngl, always check for that NULL bestie, it's literally the "found nothing" signal π
π¦ SEE ALSO π¦
so many friends in this little GPU SVM friend group omg π«Ά β here's the whole squad, not a single one skipped:
- Kernel file
./drivers/gpu/drm/drm_gpusvm.c Overview(9)Locking(9)Partial Unmapping of Ranges(9)Examples(9)npages_in_range(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_remove(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)
and that's the whole page, bestie π this one lives in ./drivers/gpu/drm, dated October 2026, and it's officially signed off as drm_gpusvm_notifier_find(9) β slay, go find those notifiers π§β¨π
π¦ 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