syscall: fix TLB not being flushed when necessary
This commit is contained in:
+1
-1
@@ -620,7 +620,7 @@ kern_status_t sys_task_duplicate(
|
||||
task_unlock_irqrestore(self, flags);
|
||||
|
||||
/* clear TLB */
|
||||
pmap_switch(self->t_pmap);
|
||||
pmap_flush();
|
||||
put_current_task(self);
|
||||
|
||||
*out_task = child_handle;
|
||||
|
||||
Reference in New Issue
Block a user