summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 14070d92..da61ed68 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -1405,10 +1405,11 @@ thread_sched_fs_balance_migrate(struct thread_runq *runq,
* Threads in the expired queue of a processor in round highest are
* actually in round highest + 1.
*/
- if (remote_runq->fs_round != highest_round)
+ if (remote_runq->fs_round != highest_round) {
nr_pulls = thread_sched_fs_balance_pull(runq, remote_runq,
remote_runq->fs_runq_expired,
nr_pulls);
+ }
out:
return nr_pulls;