From mboxrd@z Thu Jan 1 00:00:00 1970 From: Izik Eidus Subject: Re: What happens if I use get_user_pages() Date: Tue, 08 Jul 2008 04:47:31 -0500 Message-ID: <487337B3.9070602@qumranet.com> References: <896ae46a0807072346o3240d1b4y91918491e9056837@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Arn Return-path: Received: from mis011.exch011.intermedia.net ([64.78.21.10]:52183 "EHLO mis011.exch011.intermedia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbYGHKC4 (ORCPT ); Tue, 8 Jul 2008 06:02:56 -0400 In-Reply-To: <896ae46a0807072346o3240d1b4y91918491e9056837@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: =D7=A6=D7=99=D7=98=D7=95=D7=98 Arn: > 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 ? ) > > Thanks > Arn > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > =20 running get_user_pages wont make the pages unswappable by the host (onl= y=20 by the guest)