Re: [PATCH 00/13] KVM: MMU: fast page fault

Avi Kivity
2012-04-10T11:07:58Z

On 04/09/2012 10:46 PM, Marcelo Tosatti wrote:
> Perhaps the mmu_lock hold times by get_dirty are a large component here?
> If that can be alleviated, not only RO->RW faults benefit.
>
>

Currently the longest holder in normal use is probably reading the dirty
log and write protecting the shadow page tables.

We could fix that by switching to O(1) write protection
(write-protecting PML4Es instead of PTEs). It would be interesting to
combine O(1) write protection with lockless write-enabling.

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