diff options
| author | David Xu <davidxu@FreeBSD.org> | 2003-02-19 13:36:51 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2003-02-19 13:36:51 +0000 |
| commit | 4f6cfa452068c85782e1e44f7eb716e3f275011c (patch) | |
| tree | 55126cde742f6dfed1c1df57e1534ea14aa417ed /sys | |
| parent | 6dae0c1e3e9efccab5f8342977dd7ef6ecaaf68f (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 5cefb1cb48d2..e76c34b1e10d 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 605fcbde9c5e..3f8cc1aa4a7e 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); } |
