mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 16:23:16 +01:00
Added support for faulty pagers and their threads to become zombies
Added support for pagers that fault to suspend and become zombies along with all the threads that they manage. Zombie killing is to be done at a later time, from this special zombie queue. The implementation works same as a suspension, with the added action that the thread is moved to a queue in kernel container.
This commit is contained in:
@@ -399,6 +399,8 @@ void init_kernel_container(struct kernel_container *kcont)
|
||||
memcap_unmap(&kcont->physmem_free, kernel_area->start,
|
||||
kernel_area->end);
|
||||
|
||||
init_ktcb_list(&kcont->zombie_list);
|
||||
|
||||
/* TODO:
|
||||
* Add all virtual memory areas used by the kernel
|
||||
* e.g. kernel virtual area, syscall page, kip page,
|
||||
|
||||
Reference in New Issue
Block a user