summaryrefslogtreecommitdiffstats
path: root/sys/coda
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-04-04 17:49:48 +0000
committerbde <bde@FreeBSD.org>2002-04-04 17:49:48 +0000
commit14ae95f735978b62fd4a040a2f05a7d5c5a30712 (patch)
tree27b9df7330c17460156c8810b34fef449a2d1764 /sys/coda
parent2a571683e0a57e785364a0bccbf360ed24409bd1 (diff)
downloadFreeBSD-src-14ae95f735978b62fd4a040a2f05a7d5c5a30712.zip
FreeBSD-src-14ae95f735978b62fd4a040a2f05a7d5c5a30712.tar.gz
Moved signal handling and rescheduling from userret() to ast() so that
they aren't in the usual path of execution for syscalls and traps. The main complication for this is that we have to set flags to control ast() everywhere that changes the signal mask. Avoid locking in userret() in most of the remaining cases. Submitted by: luoqi (first part only, long ago, reorganized by me) Reminded by: dillon
Diffstat (limited to 'sys/coda')
-rw-r--r--sys/coda/coda_psdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/coda/coda_psdev.c b/sys/coda/coda_psdev.c
index c2653ec..8ed4f22 100644
--- a/sys/coda/coda_psdev.c
+++ b/sys/coda/coda_psdev.c
@@ -602,6 +602,7 @@ coda_call(mntinfo, inSize, outSize, buffer)
}
} while (error && i++ < 128 && VC_OPEN(vcp));
p->p_sigmask = psig_omask;
+ signotify(p);
PROC_UNLOCK(p);
#else
(void) tsleep(&vmp->vm_sleep, coda_call_sleep, "coda_call", 0);
OpenPOWER on IntegriCloud