KVM: switch to get_user_pages_fast
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 16 Sep 2008 23:54:47 +0000 (20:54 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 15 Oct 2008 12:25:06 +0000 (14:25 +0200)
Convert gfn_to_pfn to use get_user_pages_fast, which can do lockless
pagetable lookups on x86. Kernel compilation on 4-way guest is 3.7%
faster on VMX.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found