Back out the previous spl change, since it opens a race window.
Reviewed by: alfred, dillon, peter
This commit is contained in:
parent
4f249023a4
commit
b7592c7bea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56322
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user