On Sun, Oct 10, 2010 at 02:38:58PM +0200, Avi Kivity wrote: > On 10/10/2010 02:32 PM, Gleb Natapov wrote: > >On Thu, Oct 07, 2010 at 03:10:27PM +0200, Avi Kivity wrote: > >> On 10/04/2010 05:56 PM, Gleb Natapov wrote: > >> >When async PF capability is detected hook up special page fault handler > >> >that will handle async page fault events and bypass other page faults to > >> >regular page fault handler. Also add async PF handling to nested SVM > >> >emulation. Async PF always generates exit to L1 where vcpu thread will > >> >be scheduled out until page is available. > >> > > >> > >> Please separate guest and host changes. > >> > >Hmm. There are only guest changes here as far as I can see. > > From the diffstat: > > > arch/x86/include/asm/kvm_para.h | 12 +++ > > arch/x86/include/asm/traps.h | 1 + > > arch/x86/kernel/entry_32.S | 10 ++ > > arch/x86/kernel/entry_64.S | 3 + > > arch/x86/kernel/kvm.c | 184 ++++++++++++++++++++++++++++++++++++++- > > arch/x86/kvm/svm.c | 43 +++++++-- > > svm.c is host code. > Not exactly :) It is a host code from nested guest perspective, but guest code from L0 perspective. -- Gleb. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>