Re: [PATCH v4 1/6] KVM: MMU: introduce gfn_to_pfn_atomic() function

2010-07-02 Thread Marcelo Tosatti
On Thu, Jul 01, 2010 at 09:53:04PM +0800, Xiao Guangrong wrote: Introduce gfn_to_pfn_atomic(), it's the fast path and can used in atomic context, the later patch will use it Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/mm/gup.c|2 ++

Re: [PATCH v4 1/6] KVM: MMU: introduce gfn_to_pfn_atomic() function

2010-07-02 Thread Nick Piggin
On Fri, Jul 02, 2010 at 01:47:56PM -0300, Marcelo Tosatti wrote: On Thu, Jul 01, 2010 at 09:53:04PM +0800, Xiao Guangrong wrote: Introduce gfn_to_pfn_atomic(), it's the fast path and can used in atomic context, the later patch will use it Signed-off-by: Xiao Guangrong

[PATCH v4 1/6] KVM: MMU: introduce gfn_to_pfn_atomic() function

2010-07-01 Thread Xiao Guangrong
Introduce gfn_to_pfn_atomic(), it's the fast path and can used in atomic context, the later patch will use it Signed-off-by: Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/mm/gup.c|2 ++ include/linux/kvm_host.h |1 + virt/kvm/kvm_main.c | 32