PM: add clarifying comment about exiting system processes early (thanks Philip)

This commit is contained in:
David van Moolenbroek 2009-07-11 11:19:39 +00:00
parent 9808816c14
commit 14f3a0e018

View file

@ -260,7 +260,10 @@ int exit_type; /* one of PM_EXIT, PM_EXIT_TR, PM_DUMPCORE */
if (rmp->mp_flags & PRIV_PROC)
{
/* destroy system processes without waiting for FS */
/* Destroy system processes without waiting for FS. This is
* needed because the system process might be a block device
* driver that FS is blocked waiting on.
*/
if((r= sys_exit(rmp->mp_endpoint)) != OK)
panic(__FILE__, "exit_proc: sys_exit failed", r);
}