Remove extraneous check. We are not going to return from copyin/out on
the stack of a thread A but actually be thread B instead of thread A.
This commit is contained in:
parent
cc0be35b66
commit
be64c41651
@ -185,8 +185,6 @@ uiomove(void *cp, int n, struct uio *uio)
|
||||
n -= cnt;
|
||||
}
|
||||
out:
|
||||
if (td != curthread) printf("uiomove: IT CHANGED!");
|
||||
td = curthread; /* Might things have changed in copyin/copyout? */
|
||||
if (td) {
|
||||
mtx_lock_spin(&sched_lock);
|
||||
td->td_flags = (td->td_flags & ~TDF_DEADLKTREAT) | save;
|
||||
|
Loading…
Reference in New Issue
Block a user