Re: [patch 02/13] KVM: MMU: switch to get_user_pages_fast

Avi Kivity
2008-09-09T13:57:54Z

Andrea Arcangeli wrote:
> On Sun, Sep 07, 2008 at 11:45:41AM +0300, Avi Kivity wrote:
>
>> Marcelo Tosatti wrote:
>>
>>> Avoid mmap_sem / pt lock acquision if the pagetables are present. The
>>> improvement for hugepage backed guests is more significant, since pte
>>> walk + page grab for such mappings is serialized by mm->page_table_lock.
>>>
>>> CC: Andrea Arcangeli <andrea@qumranet.com>
>>>
>>>
>>>
>> I'd like to apply this. Andrea, can you verify that mmu notifiers
>> interaction is okay?
>>
>
> Looks great to me. Thanks!
>

Thanks.

Marcelo, can you split the patch into two and repost? We can get this
in quickly.

--
error compiling committee.c: too many arguments to function