From: Ben Gras Date: Fri, 31 May 2013 17:31:55 +0000 (+0000) Subject: vm: handle disappearing process case X-Git-Tag: v3.3.0~940 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F611%2F1;p=minix.git vm: handle disappearing process case Change-Id: Id96759883e4cdb175c79dcef7ef5ff254612101f --- diff --git a/servers/vm/pagefaults.c b/servers/vm/pagefaults.c index 46c254777..c945f4857 100644 --- a/servers/vm/pagefaults.c +++ b/servers/vm/pagefaults.c @@ -147,6 +147,8 @@ static void pf_cont(struct vmproc *vmp, message *m, void *arg, void *statearg) { struct pf_state *state = statearg; + int p; + if(vm_isokendpt(state->ep, &p) != OK) return; /* signal */ handle_pagefault(state->ep, state->vaddr, state->err, 1); }