Skip to contentSkip to conversation

sched: Fix select_task_rq_fair() description comments

PATCH New Morten Rasmussen 2 participants 3 messages Feb 18, 2014 – Feb 22, 2014 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: Fix select_task_rq_fair() description comments

Brings select_task_rq_fair() description comments up-to-date.

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/sched/fair.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
kernel/sched/fair.c +6 -5
index 966cc2b..fde412b 100644
@@ -4211,13 +4211,14 @@ done:
 }
 
 /*
- * sched_balance_self: balance the current task (running on cpu) in domains
- * that have the 'flag' flag set. In practice, this is SD_BALANCE_FORK and
- * SD_BALANCE_EXEC.
+ * select_task_rq_fair: Select target runqueue for the waking task in domains
+ * that have the 'sd_flag' flag set. In practice, this is SD_BALANCE_WAKE,
+ * SD_BALANCE_FORK, or SD_BALANCE_EXEC.
  *
- * Balance, ie. select the least loaded group.
+ * Balances load by selecting the idlest cpu in the idlest group, or under
+ * certain conditions an idle sibling cpu if the domain has SD_WAKE_AFFINE set.
  *
- * Returns the target CPU number, or the same CPU if no balancing is needed.
+ * Returns the target cpu number.
  *
  * preempt must be disabled.
  */
Signature · 1 line
1.7.9.5
#1 lore raw
sched: Fix select_task_rq_fair() description comments
Commit-ID:  183d5fc846e6653530567810397750f922d374cf
Gitweb:     http://git.kernel.org/tip/183d5fc846e6653530567810397750f922d374cf
Author:     Morten Rasmussen <[email protected]>
AuthorDate: Tue, 18 Feb 2014 14:14:24 +0000
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Fri, 21 Feb 2014 21:43:21 +0100

sched: Fix select_task_rq_fair() description comments

Brings select_task_rq_fair() description comments up-to-date.

---
 kernel/sched/fair.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
kernel/sched/fair.c +6 -5
index fb6f220..37ee473 100644
@@ -4397,13 +4397,14 @@ done:
 }
 
 /*
- * sched_balance_self: balance the current task (running on cpu) in domains
- * that have the 'flag' flag set. In practice, this is SD_BALANCE_FORK and
- * SD_BALANCE_EXEC.
+ * select_task_rq_fair: Select target runqueue for the waking task in domains
+ * that have the 'sd_flag' flag set. In practice, this is SD_BALANCE_WAKE,
+ * SD_BALANCE_FORK, or SD_BALANCE_EXEC.
  *
- * Balance, ie. select the least loaded group.
+ * Balances load by selecting the idlest cpu in the idlest group, or under
+ * certain conditions an idle sibling cpu if the domain has SD_WAKE_AFFINE set.
  *
- * Returns the target CPU number, or the same CPU if no balancing is needed.
+ * Returns the target cpu number.
  *
  * preempt must be disabled.
  */
#2 lore raw
In reply to Morten Rasmussen
sched: Fix select_task_rq_fair() description comments
Commit-ID:  de91b9cb97fe68cb6ef0cfe9bee09d015c152af8
Gitweb:     http://git.kernel.org/tip/de91b9cb97fe68cb6ef0cfe9bee09d015c152af8
Author:     Morten Rasmussen <[email protected]>
AuthorDate: Tue, 18 Feb 2014 14:14:24 +0000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sat, 22 Feb 2014 18:17:04 +0100

sched: Fix select_task_rq_fair() description comments

Brings select_task_rq_fair() description comments up-to-date.

---
 kernel/sched/fair.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
kernel/sched/fair.c +6 -5
index e884e45..7982faf 100644
@@ -4397,13 +4397,14 @@ done:
 }
 
 /*
- * sched_balance_self: balance the current task (running on cpu) in domains
- * that have the 'flag' flag set. In practice, this is SD_BALANCE_FORK and
- * SD_BALANCE_EXEC.
+ * select_task_rq_fair: Select target runqueue for the waking task in domains
+ * that have the 'sd_flag' flag set. In practice, this is SD_BALANCE_WAKE,
+ * SD_BALANCE_FORK, or SD_BALANCE_EXEC.
  *
- * Balance, ie. select the least loaded group.
+ * Balances load by selecting the idlest cpu in the idlest group, or under
+ * certain conditions an idle sibling cpu if the domain has SD_WAKE_AFFINE set.
  *
- * Returns the target CPU number, or the same CPU if no balancing is needed.
+ * Returns the target cpu number.
  *
  * preempt must be disabled.
  */