Skip to contentSkip to conversation

Minor scheduler comment fix

PATCH New Rusty Russell 1 participant 1 message Aug 6, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Minor scheduler comment fix

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.

kernel/sched.c +2 -1
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
@@ -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.