add PTATTR_DIRTY

refs #18
This commit is contained in:
NAKAMURA Gou
2014-05-07 19:58:23 +09:00
parent ce7af5839d
commit 7e788f06f7
2 changed files with 2 additions and 0 deletions

View File

@@ -1240,6 +1240,7 @@ static int protection_fault_process_memory_range(struct process_vm *vm, struct v
}
attr = vrflag_to_ptattr(range->flag);
attr |= PTATTR_DIRTY;
error = ihk_mc_pt_set_pte(vm->page_table, ptep, pgsize, newpa, attr);
if (error) {
kprintf("protection_fault_process_memory_range"