It would be convenient if the user program could read this data via mmap.
I have just bought Alessandro Rubini's new book "Linux Device
Drivers". In it he says that remapping host RAM to user space is
difficult. The remap_page_range won't work. He talks about the
'nopage method'. He gives an example, but the example is limited so
single pages (I don't completely understand why).
My driver needs at least 128kb. (I'd really like 256kb, but I guess
that's a problem). Assume I use get_free_pages to grab 128kb. How
can this be accessed via mmap? Are there any examples?
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu