[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix writable pagetables for uniproc domains such that we don't use the
ChangeSet 1.1382, 2005/04/25 16:10:07+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx Fix writable pagetables for uniproc domains such that we don't use the emulation path every time. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> mm.c | 4 ++++ 1 files changed, 4 insertions(+) diff -Nru a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c --- a/xen/arch/x86/mm.c 2005-04-25 12:03:21 -04:00 +++ b/xen/arch/x86/mm.c 2005-04-25 12:03:21 -04:00 @@ -2802,7 +2802,11 @@ * update to ensure we make progress. */ if ( d->arch.ptwr[which].prev_nr_updates == 0 ) + { + /* Ensure that we don't get stuck in an emulation-only rut. */ + d->arch.ptwr[which].prev_nr_updates = 1; goto emulate; + } d->arch.ptwr[which].l1va = addr | 1; d->arch.ptwr[which].l2_idx = l2_idx; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |