Saying if we do a mmap() system call and maps some PCIE device memory (like GPU) into the user space, then application can access those memory region in the device without any OS overhead. Data can by copied from file system buffer directly to device memory without any other copy.
Above statement must be wrong... Can anyone tell me where is the flaw? Thanks!
strace
theX11
server (e.g.Xorg
) to understand what it is doing (and how it ismmap
-ing the GPU). – Basile Starynkevitchcat /proc/$(pidof /usr/bin/X)/maps
.... – Basile Starynkevitch