lkml.org 
[lkml]   [2002]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Minor scheduler comment fix
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.074 / U:9.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site