From 14f3a0e018131802d8466628befd9802fa612eb2 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Sat, 11 Jul 2009 11:19:39 +0000 Subject: [PATCH] PM: add clarifying comment about exiting system processes early (thanks Philip) --- servers/pm/forkexit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); }