Re: What happens if I use get_user_pages()

2008-07-08 Thread Muli Ben-Yehuda
On Tue, Jul 08, 2008 at 02:46:12AM -0400, Arn wrote: Hi, If I use the kernel function get_user_pages() within a guest kernel module, will this ensure that the guests pages are never swapped out by the host ? Will it lock these pages in memory ? (Has anyone tried this ? ) As Izik said,

Re: What happens if I use get_user_pages()

2008-07-08 Thread Arn
If I use the kernel function get_user_pages() within a guest kernel module, will this ensure that the guests pages are never swapped out by the host ? Will it lock these pages in memory ? (Has anyone tried this ? ) As Izik said, the answer is no. Is this the desirable outcome, or are you

Re: What happens if I use get_user_pages()

2008-07-08 Thread Izik Eidus
ציטוט Arn: If I use the kernel function get_user_pages() within a guest kernel module, will this ensure that the guests pages are never swapped out by the host ? Will it lock these pages in memory ? (Has anyone tried this ? ) As Izik said, the answer is no. Is this the desirable outcome,