From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id 131AA6B004D for ; Mon, 2 Nov 2009 08:05:14 -0500 (EST) Message-ID: <4AEED907.5030306@redhat.com> Date: Mon, 02 Nov 2009 15:05:11 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [PATCH 08/11] Add "wait for page" hypercall. References: <1257076590-29559-1-git-send-email-gleb@redhat.com> <1257076590-29559-9-git-send-email-gleb@redhat.com> In-Reply-To: <1257076590-29559-9-git-send-email-gleb@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Gleb Natapov Cc: kvm@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On 11/01/2009 01:56 PM, Gleb Natapov wrote: > We want to be able to inject async pagefault into guest event if a guest > is not executing userspace code. But in this case guest may receive > async page fault in non-sleepable context. In this case it will be > able to make "wait for page" hypercall vcpu will be put to sleep until > page is swapped in and guest can continue without reschedule. > What's wrong with just 'hlt' and checking in the guest? -- error compiling committee.c: too many arguments to function -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org