diff for duplicates of <20050729162108.GA10243@elte.hu> diff --git a/a/1.txt b/N1/1.txt index 714a980..f22b41f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -23,19 +23,20 @@ Signed-off-by: Ingo Molnar <mingo@elte.hu> 1 files changed, 6 insertions(+) Index: linux-sched-curr/kernel/sched.c -=================================--- linux-sched-curr.orig/kernel/sched.c +=================================================================== +--- linux-sched-curr.orig/kernel/sched.c +++ linux-sched-curr/kernel/sched.c @@ -1253,7 +1253,13 @@ static int try_to_wake_up(task_t *p, uns if (unlikely(task_running(rq, p))) goto out_activate; + /* -+ * Only do wakeup-balancing (= potentially migrate the task) ++ * Only do wakeup-balancing (== potentially migrate the task) + * if this CPU (or any SMT sibling) is idle: + */ new_cpu = cpu; -+ if (!idle_cpu(this_cpu) && this_cpu = wake_idle(this_cpu, p)) ++ if (!idle_cpu(this_cpu) && this_cpu == wake_idle(this_cpu, p)) + goto out_set_cpu; schedstat_inc(rq, ttwu_cnt); - if (cpu = this_cpu) { + if (cpu == this_cpu) { diff --git a/a/content_digest b/N1/content_digest index 9fc688c..c78725d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,7 +5,7 @@ "ref\020050729150207.GA6332@elte.hu\0" "From\0Ingo Molnar <mingo@elte.hu>\0" "Subject\0[sched, patch] better wake-balancing, #3\0" - "Date\0Fri, 29 Jul 2005 16:21:08 +0000\0" + "Date\0Fri, 29 Jul 2005 18:21:08 +0200\0" "To\0Chen" " Kenneth W <kenneth.w.chen@intel.com>\0" "Cc\0'Nick Piggin' <nickpiggin@yahoo.com.au>" @@ -39,21 +39,22 @@ " 1 files changed, 6 insertions(+)\n" "\n" "Index: linux-sched-curr/kernel/sched.c\n" - "=================================--- linux-sched-curr.orig/kernel/sched.c\n" + "===================================================================\n" + "--- linux-sched-curr.orig/kernel/sched.c\n" "+++ linux-sched-curr/kernel/sched.c\n" "@@ -1253,7 +1253,13 @@ static int try_to_wake_up(task_t *p, uns\n" " \tif (unlikely(task_running(rq, p)))\n" " \t\tgoto out_activate;\n" " \n" "+\t/*\n" - "+\t * Only do wakeup-balancing (= potentially migrate the task)\n" + "+\t * Only do wakeup-balancing (== potentially migrate the task)\n" "+\t * if this CPU (or any SMT sibling) is idle:\n" "+\t */\n" " \tnew_cpu = cpu;\n" - "+\tif (!idle_cpu(this_cpu) && this_cpu = wake_idle(this_cpu, p))\n" + "+\tif (!idle_cpu(this_cpu) && this_cpu == wake_idle(this_cpu, p))\n" "+\t\tgoto out_set_cpu;\n" " \n" " \tschedstat_inc(rq, ttwu_cnt);\n" - " \tif (cpu = this_cpu) {" + " \tif (cpu == this_cpu) {" -458d44707d6bac02fe812c42032850beca8402917aaf30a9e292cabba8742b59 +396c42fb846d64d0afcfb9612f9f449a2051d251f579f6d308c7c9a1920d95a5
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.