Do not unmap a driver when the driver dies (it interferes with restarting
disk drivers). Fixed accounting for REVIVING/reviving.
This commit is contained in:
parent
ae92cc208d
commit
f0186f4179
@ -398,7 +398,6 @@ PRIVATE void free_proc(struct fproc *exiter, int flags)
|
||||
if(!(flags & FP_EXITING))
|
||||
return;
|
||||
|
||||
dmap_unmap_by_endpt(fp->fp_endpoint);
|
||||
/* Invalidate endpoint number for error and sanity checks. */
|
||||
fp->fp_endpoint = NONE;
|
||||
|
||||
|
@ -359,6 +359,9 @@ int proc_nr_e;
|
||||
if (rfp->fp_suspended == NOT_SUSPENDED) return(OK);
|
||||
task = -rfp->fp_task;
|
||||
|
||||
if (rfp->fp_revived == REVIVING)
|
||||
reviving--;
|
||||
|
||||
switch (task) {
|
||||
case XPIPE: /* process trying to read or write a pipe */
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user