STRUCT DRM_GPUSVM_NOTIFIER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct drm_gpusvm_notifier(9) β€” the Kernel API Manual, bestie edition

Okay so welcome to the group chat, this is the page for struct drm_gpusvm_notifier, straight out of the Kernel API Manual, and we are going to get so acquainted. 🫢


✨ NAME ✨

struct drm_gpusvm_notifier β€” it's the structure that represents a GPU SVM notifier. That's it, that's the whole vibe. πŸ’–


🌸 SYNOPSIS 🌸

Here's the whole thing, no edits, no games, exactly as it lives in the source:

struct drm_gpusvm_notifier {
    struct drm_gpusvm *gpusvm;
    struct mmu_interval_notifier notifier;
    struct interval_tree_node itree;
    struct list_head entry;
    struct rb_root_cached root;
    struct list_head range_list;
    struct {
      u32 removed : 1;
    } flags;
 };

Look at her. Gorgeous. Structural. Absolutely main character energy. πŸ‘‘


πŸŽ€ Members πŸŽ€

Time for the roll call, bestie. Every single field, accounted for. ✨

  • gpusvm β€” a pointer to the GPU SVM structure. She points home. 🏠
  • notifier β€” the MMU interval notifier. Yes, that one.
  • itree β€” the interval tree node for the notifier, and it gets inserted in GPU SVM. Iconic placement, no notes.
  • entry β€” a list entry, there purely so we can do fast interval tree traversal. Speedy queen. πŸ¦‹
  • root β€” the cached root node of the RB tree that holds the ranges.
  • range_list β€” a list head containing ranges in the same order they appear in the interval tree. Why do we care? Because it's genuinely useful for keeping the iteration going over ranges while you're making modifications to the RB tree. Lowkey a lifesaver. 😭
  • flags β€” the flags for the notifier. Little bitty flag holder, we love her.
    • flags.removed β€” a flag indicating whether the MMU interval notifier has been removed. Big "am I still invited to the party" energy. πŸ’€

πŸ”₯ Description πŸ”₯

This structure represents a GPU SVM notifier. Short, sweet, to the point, and honestly? Slayed. Periodt.


🌈 SEE ALSO 🌈

Kernel file ./include/drm/drm_gpusvm.h, plus the whole friend group β€” go say hi to all of them:


ngl bestie, if you're poking at anything in that SEE ALSO list, read those pages too β€” they're all holding hands for a reason. 🫢

And that's the whole page!! Sourced from ./include/drm, dated October 2026, and titled struct drm_gpusvm_notifier(9) forever and always. Go forth and notifier, queen. πŸ‘‘πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from