Also the drivers have access to memory that even the linux kernel doesn't know of, I suspect it's used for the frame buffer, OSD and (hardware) demuxer buffers.
If the memory allocation is not known by the kernel then how user space drivers are accessing it ?
I am not the expert in this particular case, but in general there are always ways to achieve this, e.g. with an explicit i/o address space, with untranslated memory access (which is possible from within the kernel, so page tables are completely bypassed). This is the strength and also the weakness of unix, a device driver runs inside the kernel and has exactly the same priviledges as the rest of the kernel, so it can really completely trash the computer. On other operating systems often several levels of priviledge are enforced with the kernel.
Luckily "user space drivers" (whatever you exactly mean by that) don't have such access.
Edited by Erik Slagter, 24 April 2014 - 21:18.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.