Back out the previous spl change, since it opens a race window.

Reviewed by:	alfred, dillon, peter
This commit is contained in:
Jason Evans 2000-01-20 08:15:13 +00:00
parent 4f249023a4
commit b7592c7bea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56322

View File

@ -1543,10 +1543,10 @@ aio_suspend(struct proc *p, struct aio_suspend_args *uap)
}
}
}
splx(s);
ki->kaio_flags |= KAIO_WAKEUP;
error = tsleep(p, PRIBIO | PCATCH, "aiospn", timo);
splx(s);
if (error == ERESTART || error == EINTR) {
zfree(aiol_zone, ijoblist);