Re: Populating multiple ptes at fault time

From: Avi Kivity
Date: Wed Sep 17 2008 - 18:11:59 EST


Jeremy Fitzhardinge wrote:
Minor faults are easier; if the page already exists in memory, we should
just create mappings to it. If neighbouring pages are also already
present, then we can can cheaply create mappings for them too.


One problem is the accessed bit. If it's unset, the shadow code cannot make the pte present (since it has to trap in order to set the accessed bit); if it's set, we're lying to the vm.

This doesn't affect Xen, only kvm.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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/