diff options
-rw-r--r-- | kern/thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c index 1b9ab6f3..b01a3a50 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -1574,7 +1574,8 @@ thread_balance(void *arg) /* * This function may temporarily enable preemption and release the - * run queue lock. + * run queue lock, but on return, the lock must remain held until this + * balancer thread sleeps. */ thread_sched_ts_balance(runq, &flags); } |