[PATCH] Minor scheduler comment fix

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Mon Aug 05 2002 - 21:08:53 EST


I find the "pulling" threads comment for the migration thread
misleading: the migration thread is running on the source CPU, not the
target.

Ingo?
Rusty.

diff -urpN -I '\$.*\$' --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.30/kernel/sched.c working-2.5.30-comment/kernel/sched.c
--- linux-2.5.30/kernel/sched.c 2002-08-02 11:15:10.000000000 +1000
+++ working-2.5.30-comment/kernel/sched.c 2002-08-06 12:06:08.000000000 +1000
@@ -1959,7 +1959,8 @@ out:
 
 /*
  * migration_thread - this is a highprio system thread that performs
- * thread migration by 'pulling' threads into the target runqueue.
+ * thread migration by bumping the process off this cpu and then
+ * pushing it onto the new runqueue.
  */
 static int migration_thread(void * data)
 {

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:29 EST