summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_switch.c4
-rw-r--r--sys/kern/sched_4bsd.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index 5cefb1c..e76c34b 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -160,9 +160,7 @@ retry:
/*
* Given a surplus KSE, either assign a new runable thread to it
* (and put it in the run queue) or put it in the ksegrp's idle KSE list.
- * Or maybe give it back to its owner if it's been loaned.
- * Assumes that the original thread is either not runnable or
- * already on the run queue
+ * Assumes that the original thread is not runnable.
*/
void
kse_reassign(struct kse *ke)
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 605fcbd..3f8cc1a 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -549,7 +549,6 @@ sched_switchout(struct thread *td)
* We will not be on the run queue. So we must be
* sleeping or similar. As it's available,
* someone else can use the KSE if they need it.
- * (If bound LOANING can still occur).
*/
kse_reassign(ke);
}
OpenPOWER on IntegriCloud