Arjan van de Ven wrote:
so... how about giving a lot more details about WHY and WHAT you are trying to achieve.... maybe even an URL to a preliminary draft of your code ??
http://www.ammasso.com/Amso1100-1.0.0_ga-2.tar
It's very simple. I'm trying to lock a user-space buffer in memory and obtain a list of physical addresses for that buffer. Obtaining a list of physical addresses is easy. Locking the buffer down seems to be the problem. We try using the kiobuf functions, but 1) they're gone in 2.6, and 2) they don't really work, since kswapd will still page-out pages in the supposedly-locked buffer.
-- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/