Hi...
As most of you will already know, one can use get_user_pages to get a
struct pages list of a certain user space buffer.
While doing this, get_user_pages also locks the pages into physical mem
(preventing them from being swapped out to disk, or moved within phys
mem) for usage with e.g. DMA.

From my personal code observation, I don't see any codes that does page locking in RAM. I only saw page faulting code, so it just brought page(s) to RAM, but not locking them.

So, IMHO, you can call get_user_pages as many times as needed... locking is done in other function.

regards,

Mulyadi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to