lkml.org 
[lkml]   [2010]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 1/6] KVM: MMU: introduce gfn_to_pfn_atomic() function
    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 <xiaoguangrong@cn.fujitsu.com>
    > ---
    > arch/x86/mm/gup.c | 2 ++
    > include/linux/kvm_host.h | 1 +
    > virt/kvm/kvm_main.c | 32 +++++++++++++++++++++++++-------
    > 3 files changed, 28 insertions(+), 7 deletions(-)
    >
    > diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c
    > index 738e659..0c9034b 100644
    > --- a/arch/x86/mm/gup.c
    > +++ b/arch/x86/mm/gup.c
    > @@ -6,6 +6,7 @@
    > */
    > #include <linux/sched.h>
    > #include <linux/mm.h>
    > +#include <linux/module.h>
    > #include <linux/vmstat.h>
    > #include <linux/highmem.h>
    >
    > @@ -274,6 +275,7 @@ int __get_user_pages_fast(unsigned long start, int nr_pages, int write,
    >
    > return nr;
    > }
    > +EXPORT_SYMBOL_GPL(__get_user_pages_fast);
    >
    > /**
    > * get_user_pages_fast() - pin user pages in memory

    This should be a separate patch (overlooked that before). Ingo, Nick,
    can this go in through the kvm tree?



    \
     
     \ /
      Last update: 2010-07-02 19:25    [W:0.045 / U:17.528 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site