mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 04:43:16 +01:00
Added different paths of exiting for pager and its children.
Created a task_dead list on pager for children to move to when they exit.
This commit is contained in:
@@ -123,8 +123,7 @@ void fault_ipc_to_pager(u32 faulty_pc, u32 fsr, u32 far)
|
||||
"returned error (%d). Suspend and exiting thread.\n",
|
||||
current->tid, err);
|
||||
BUG_ON(current->nlocks);
|
||||
current->flags |= TASK_EXITING;
|
||||
sched_suspend_sync();
|
||||
sched_die_sync();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user