News for hackers. Stuff that matters.
Re:Simplifying GPU Application Development with HMM by drewg123 on Tuesday August 29, 2023 @01:21PM (#37311009)
I used to work on Myrinet HPC NICs many years ago, and the ability for a PCI(e) device to access any memory by user virtual address was a desirable feature. I believe that Quadrics did this first using a patched version of DEC OSF/1 (UNIX, Tru64, whatever you want to call it), where they hooked into the kernel pmap (page table) code, and sync'ed the page tables with their NIC. That way the NIC could do the virtual to physical translations, and know if a virtual memory address was backed by a physical page.

What Nvidia is doing here sounds similar. Does linux provide such primitives now?

Re:Simplifying GPU Application Development with HMM by drewg123 on Tuesday August 29, 2023 @01:32PM (#37311176)
Its really hard to google for information on older stuff like this. I did find a presentation from 2000 where they talk about "OS Bypass with Virtual Addressing; no page locking or copying; full protection" (https://hsi.web.cern.ch/HNF-Europe/sem3_2001/hnf.pdf)