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

From: Avi Kivity
Date: Tue Apr 10 2012 - 07:08:20 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/