From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757330Ab0JEChI (ORCPT ); Mon, 4 Oct 2010 22:37:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13621 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753221Ab0JEChH (ORCPT ); Mon, 4 Oct 2010 22:37:07 -0400 Message-ID: <4CAA8F36.5050608@redhat.com> Date: Mon, 04 Oct 2010 22:36:38 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.2 MIME-Version: 1.0 To: Gleb Natapov CC: kvm@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, avi@redhat.com, mingo@elte.hu, a.p.zijlstra@chello.nl, tglx@linutronix.de, hpa@zytor.com, cl@linux-foundation.org, mtosatti@redhat.com Subject: Re: [PATCH v6 09/12] Inject asynchronous page fault into a PV guest if page is swapped out. References: <1286207794-16120-1-git-send-email-gleb@redhat.com> <1286207794-16120-10-git-send-email-gleb@redhat.com> In-Reply-To: <1286207794-16120-10-git-send-email-gleb@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/04/2010 11:56 AM, Gleb Natapov wrote: > Send async page fault to a PV guest if it accesses swapped out memory. > Guest will choose another task to run upon receiving the fault. > > Allow async page fault injection only when guest is in user mode since > otherwise guest may be in non-sleepable context and will not be able > to reschedule. > > Vcpu will be halted if guest will fault on the same page again or if > vcpu executes kernel code. > > Signed-off-by: Gleb Natapov Acked-by: Rik van Riel -- All rights reversed