MMU NOTIFIER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… MMU Notifier πŸ’…

okay bestie, this little icon lives in the Kernel API Manual, and it’s here to explain how coherent userptr handling works ✨ For coherent userptr handling, it registers an MMU notifier to inform the driver about updates on the page tables of a process. no cap, that’s the whole vibe πŸ‘‘

When somebody tries to invalidate the page tables, we block the update until all operations on the pages in question are completed 🫢 Then those pages are marked as accessed and also dirty if it wasn’t a read only access. periodt πŸ’…

New command submissions using the userptrs in question are delayed until all page table invalidation are completed and we once more see a coherent process address space 🌸 literally the coherence check of it all.


πŸ” SEE ALSO πŸ”


mwah πŸ’‹ that’s the page, bestie β€” source/version: ./drivers/gpu/drm/amd/amdgpu, dated October 2026 πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from