diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-02-19 13:36:51 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-02-19 13:36:51 +0000 |
commit | 0d18aacb0c875fcd13ddda53f9ad88971e43f3bc (patch) | |
tree | 55126cde742f6dfed1c1df57e1534ea14aa417ed | |
parent | ddfb65b48a8703cb711618247ea2edc7ac2d9ab4 (diff) | |
download | FreeBSD-src-0d18aacb0c875fcd13ddda53f9ad88971e43f3bc.zip FreeBSD-src-0d18aacb0c875fcd13ddda53f9ad88971e43f3bc.tar.gz |
Update comments to reflect new KSE code.
-rw-r--r-- | sys/kern/kern_switch.c | 4 | ||||
-rw-r--r-- | sys/kern/sched_4bsd.c | 1 |
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); } |