drm_gpusvm_n...r_invalidate(9)
π drm_gpusvm_notifier_invalidate β kernel API manual, section 9 β¨
Bestie. You found it. This is the manual page for drm_gpusvm_notifier_invalidate in section 9 of the Kernel API Manual, and honestly it's a whole little vibe. Let's get into it π«Ά
πΈ NAME πΈ
drm_gpusvm_notifier_invalidate β invalidate a GPU SVM notifier. That's it, that's the job. π
π SYNOPSIS π
bool drm_gpusvm_notifier_invalidate (struct mmu_interval_notifier *mni ,
const struct mmu_notifier_range *mmu_range , unsigned long cur_seq );
π¦ ARGUMENTS π¦
mniβ pointer to themmu_interval_notifierstructure. Yeah. That one. πmmu_rangeβ pointer to themmu_notifier_rangestructure.cur_seqβ the current sequence number. Keep up, she's counting. π’
π DESCRIPTION π
Okay so picture this: this function is the generic MMU notifier for GPU SVM. It's giving main character energy for the whole notifier situation. β¨
What she does is set the MMU notifier sequence number, and then she calls the driver invalidate vfunc β and the way she does it is under gpusvm->notifier_lock. Lock held, business handled, no cap. π
π₯ RETURN π₯
trueif the operation succeeds πfalseotherwise π
That's it. Binary queen. Periodt.
β SEE ALSO β
The whole friend group, no gatekeeping, iykyk:
- Kernel file
./drivers/gpu/drm/drm_gpusvm.cOverview(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_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)
Fr fr, read the whole list. She didn't tag 39 functions for you to ignore them. π
And that's the page, bestie! π§ This one lives in ./drivers/gpu/drm and it's dated October 2026 β so like, future iconic. Byeee ππ
π¦ 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