Some more progress with debugging pager exits

This commit is contained in:
Bahadir Balban
2009-10-30 18:28:45 +02:00
parent 18ffa0b4d1
commit ee7621b2df
9 changed files with 50 additions and 23 deletions

View File

@@ -123,7 +123,12 @@ 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);
sched_die_sync();
/* Declare our exit, currently only used by bug_on checks */
current->flags |= TASK_EXITING;
/* Try to die forever */
while (1)
sched_die_sync();
}
}