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:
Bahadir Balban
2009-10-30 12:00:05 +02:00
parent a6c61e05b9
commit 26aa62d2ea
8 changed files with 120 additions and 28 deletions

View File

@@ -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();
}
}