From: Muli Ben-Yehuda <muli@il.ibm.com>
To: Arn <cse.syslab@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: What happens if I use get_user_pages()
Date: Tue, 8 Jul 2008 22:41:20 +0300 [thread overview]
Message-ID: <20080708194120.GB8478@il.ibm.com> (raw)
In-Reply-To: <896ae46a0807072346o3240d1b4y91918491e9056837@mail.gmail.com>
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, the answer is no. Is this the desirable outcome, or are
you trying to find a way for the guest to force the host to pin pages
in memory? If so, why?
Cheers,
Muli
next prev parent reply other threads:[~2008-07-08 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 6:46 What happens if I use get_user_pages() Arn
2008-07-08 9:47 ` Izik Eidus
2008-07-08 19:41 ` Muli Ben-Yehuda [this message]
2008-07-08 21:04 ` Arn
2008-07-09 4:40 ` Izik Eidus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080708194120.GB8478@il.ibm.com \
--to=muli@il.ibm.com \
--cc=cse.syslab@gmail.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox