Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 23:18:41 -0700 (PDT)
From:      Jonathan Mini <mini@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 16790 for review
Message-ID:  <200208300618.g7U6IfJQ064044@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16790

Change 16790 by mini@mini_stylus on 2002/08/29 23:18:41

	Comment cleanup.

Affected files ...

.. //depot/projects/kse/sys/kern/kern_thread.c#94 edit

Differences ...

==== //depot/projects/kse/sys/kern/kern_thread.c#94 (text+ko) ====

@@ -588,9 +588,9 @@
  * extra work to do before we return (e.g. for more syscalls
  * to complete first).  If we were in a critical section, we should
  * just return to let it finish. Same if we were in the UTS (in
- * which case the mailbox's context's busy indicator will equal the
- * struct thread address).  The only traps we suport will have set the
- * mailbox.  We will clear it here.
+ * which case the mailbox's context's busy indicator will be set).
+ * The only traps we suport will have set the mailbox.
+ * We will clear it here.
  */
 int
 thread_userret(struct proc *p, struct ksegrp *kg, struct kse *ke,
@@ -621,6 +621,11 @@
 	if (((td->td_flags & TDF_UPCALLING) == 0) && td->td_mailbox) {
 		error = thread_consider_upcalling(p, kg, ke, td, frame);
 		if (error != 0)
+			/*
+			 * Failing to do the KSE operation just defaults
+			 * back to synchonous operation, so just return from
+			 * the syscall.
+			 */
 			goto cont;
 	}
 	if (td->td_flags & TDF_UPCALLING) {

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208300618.g7U6IfJQ064044>