diff options
author | Morten Rasmussen <morten.rasmussen@arm.com> | 2014-02-18 09:14:24 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-02-22 12:17:04 -0500 |
commit | de91b9cb97fe68cb6ef0cfe9bee09d015c152af8 (patch) | |
tree | 1449cef60a88d6cf349ce71fbf3c7aca00acf96c | |
parent | 144818422bfa272531250473b888394c21e6fe19 (diff) |
sched: Fix select_task_rq_fair() description comments
Brings select_task_rq_fair() description comments up-to-date.
Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1392732864-10927-1-git-send-email-morten.rasmussen@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | kernel/sched/fair.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index e884e45982af..7982faf7223b 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c | |||
@@ -4397,13 +4397,14 @@ done: | |||
4397 | } | 4397 | } |
4398 | 4398 | ||
4399 | /* | 4399 | /* |
4400 | * sched_balance_self: balance the current task (running on cpu) in domains | 4400 | * select_task_rq_fair: Select target runqueue for the waking task in domains |
4401 | * that have the 'flag' flag set. In practice, this is SD_BALANCE_FORK and | 4401 | * that have the 'sd_flag' flag set. In practice, this is SD_BALANCE_WAKE, |
4402 | * SD_BALANCE_EXEC. | 4402 | * SD_BALANCE_FORK, or SD_BALANCE_EXEC. |
4403 | * | 4403 | * |
4404 | * Balance, ie. select the least loaded group. | 4404 | * Balances load by selecting the idlest cpu in the idlest group, or under |
4405 | * certain conditions an idle sibling cpu if the domain has SD_WAKE_AFFINE set. | ||
4405 | * | 4406 | * |
4406 | * Returns the target CPU number, or the same CPU if no balancing is needed. | 4407 | * Returns the target cpu number. |
4407 | * | 4408 | * |
4408 | * preempt must be disabled. | 4409 | * preempt must be disabled. |
4409 | */ | 4410 | */ |