Skip to content

Commit 7cc7ca8

Browse files
committed
switch
1 parent cdf5757 commit 7cc7ca8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pa3.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,6 @@ void switch_process(unsigned int pid){
237237

238238
if(current->pagetable.outer_ptes[i]->ptes[j].writable==true)//쓰기모드 아닌거
239239
current->pagetable.outer_ptes[i]->ptes[j].private = true;
240-
else{
241-
child->pagetable.outer_ptes[i]->ptes[j].private = true;
242-
current->pagetable.outer_ptes[i]->ptes[j].private = true;
243-
}
244240

245241
child->pagetable.outer_ptes[i]->ptes[j].writable = false;//CoW
246242
current->pagetable.outer_ptes[i]->ptes[j].writable = false;//CoW

0 commit comments

Comments
 (0)