Added preliminary support for execve(). Updates to clone, fork, exit, task handling.

It turned out we used one version of kmalloc for malloc() and another for kfree()!
Now fixed.
Added parent-child relationship to tasks. Need to polish handling CLONE_PARENT and THREAD.
This commit is contained in:
Bahadir Balban
2008-11-19 12:59:52 +02:00
parent d182b5b35a
commit 46937eab88
39 changed files with 502 additions and 1192 deletions

View File

@@ -76,6 +76,10 @@ int thread_destroy(struct task_ids *ids)
*/
BUG_ON(task->wqh_pager.sleepers > 0);
/*
* FIXME: We need to free the pgd and any thread specific pmds!!!
*/
/* We can now safely delete the task */
free_page(task);