From: David van Moolenbroek Date: Sat, 11 Jul 2009 11:19:39 +0000 (+0000) Subject: PM: add clarifying comment about exiting system processes early (thanks Philip) X-Git-Tag: v3.1.5~221 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=14f3a0e018131802d8466628befd9802fa612eb2;p=minix.git PM: add clarifying comment about exiting system processes early (thanks Philip) --- diff --git a/servers/pm/forkexit.c b/servers/pm/forkexit.c index f5e531794..26ddebb84 100644 --- a/servers/pm/forkexit.c +++ b/servers/pm/forkexit.c @@ -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); }