n+= j; /* crude stats */
}
+ /*
+ * Ensure we flush all machphys updates before potential PAE-specific
+ * reallocations below.
+ */
+ if (xc_finish_mmu_updates(xc_handle, mmu)) {
+ ERR("Error doing finish_mmu_updates()");
+ goto out;
+ }
+
DPRINTF("Received all pages (%d races)\n", nraces);
if(pt_levels == 3) {
}
}
+ if (xc_finish_mmu_updates(xc_handle, mmu)) {
+ ERR("Error doing finish_mmu_updates()");
+ goto out;
+ }
}
-
- if (xc_finish_mmu_updates(xc_handle, mmu)) {
- ERR("Error doing finish_mmu_updates()");
- goto out;
- }
-
-
/*
* Pin page tables. Do this after writing to them as otherwise Xen
* will barf when doing the type-checking.