Kernel maintenance thread
Posted: Sat Mar 31, 2012 10:02 am
Hello!
In my other topic (http://forum.osdev.org/viewtopic.php?f=1&t=25084 - thanks to all participants!) it appears to be a consensus that the kernel usually needs some maintenance thread.
I can see two reasons for spawning such thread:
In my other topic (http://forum.osdev.org/viewtopic.php?f=1&t=25084 - thanks to all participants!) it appears to be a consensus that the kernel usually needs some maintenance thread.
I can see two reasons for spawning such thread:
- some work may be postponed to be run in background (e.g. cleaning lists of unused entries)
- implementation details create artifacts, which are hard to override (e.g. problem with releasing current task's stack)