Additional fixes to the writable pagetable error paths.
*/
memcpy(&pl1e[i], &ptwr_info[cpu].ptinfo[which].page[i],
(ENTRIES_PER_L1_PAGETABLE - i) * sizeof(l1_pgentry_t));
+ unmap_domain_mem(pl1e);
+ ptwr_info[cpu].ptinfo[which].l1va = 0;
domain_crash();
}
task_slice_t next_slice;
s32 r_time; /* time for new dom to run */
+ cleanup_writable_pagetable(
+ prev, PTWR_CLEANUP_ACTIVE | PTWR_CLEANUP_INACTIVE);
+
perfc_incrc(sched_run);
spin_lock_irq(&schedule_data[cpu].schedule_lock);
if ( unlikely(prev == next) )
return;
- cleanup_writable_pagetable(
- prev, PTWR_CLEANUP_ACTIVE | PTWR_CLEANUP_INACTIVE);
-
perfc_incrc(sched_ctx);
#if defined(WAKE_HISTO)