[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] mmap of kernel memory



--- Oleg answred -----

This is unfortunately proper behavior for your program. It is impossible
to mmap memory which was allocated with kmalloc(). mmap() will ALWAYS
return page full of zeros.
  You may try to do it other way around - allocate memory in user process
and them pass it to the kernel module.

---------------

So the question come up:
how can OSS use it this way round?
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/