drm_gpusvm_...otifier_safe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

drm_gpusvm_for_each_notifier_safe β€” safely iterate over GPU SVM notifiers in a gpusvm. This little icon lives in the Kernel API Manual, section 9, and it's here to help you loop without the chaos.

🌸 SYNOPSIS 🌸

drm_gpusvm_for_each_notifier_safe (notifier__ , next__ , gpusvm__ , start__ , end__ );

πŸŽ€ ARGUMENTS πŸŽ€

  • notifier__ β€” your iterator variable for the notifiers.
  • next__ β€” iterator variable for the notifiers' temporary storage.
  • gpusvm__ β€” pointer to the GPU SVM notifier.
  • start__ β€” start address of the notifier.
  • end__ β€” end address of the notifier.

πŸ’… DESCRIPTION πŸ’…

This macro is used to iterate over GPU SVM notifiers in a gpusvm while removing notifiers from it. So yes bestie, it's giving walk-the-list-while-stuff-is-getting-removed energy, and the _safe in the name is doing exactly what you think it's doing. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/drm/drm_gpusvm.h is the home base, and here's the full friend group:


okay that's the whole page, bestie πŸ’– source spot: ./include/drm; dated October 2026; page name: drm_gpusvm_...otifier_safe(9).

πŸ“¦ where this page comes from