Re: [PATCH v6 3/3] KVM: MMU: prefetch ptes when intercepted guest #PF

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marcelo Tosatti
Date: Thursday, August 5, 2010 - 7:38 am

On Wed, Aug 04, 2010 at 11:33:29AM +0800, Xiao Guangrong wrote:

Why is this no_dirty_log optimization worthwhile?


Better do one at a time with hva_to_pfn_atomic. Or, if you measure that
its worthwhile, do on a separate patch (using a helper as discussed
previously).


This can slowdown a single non-prefetchable pte fault. Maybe its
irrelevant, but please have kvm_read_guest_atomic in the first patch and
then later optimize, its easier to review and bisectable.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v6 1/3] export __get_user_pages_fast() function, Xiao Guangrong, (Tue Aug 3, 8:28 pm)
Re: [PATCH v6 3/3] KVM: MMU: prefetch ptes when intercepte ..., Marcelo Tosatti, (Thu Aug 5, 7:38 am)