vm: handle disappearing process case

Change-Id: Id96759883e4cdb175c79dcef7ef5ff254612101f
This commit is contained in:
Ben Gras 2013-05-31 17:31:55 +00:00
parent e92490cf47
commit 1cc6f4295d

View file

@ -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);
}