mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Minor scheduler comment fix
@ 2002-08-06  2:08 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-08-06  2:08 UTC (permalink / raw)
  To: linux-kernel, mingo

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-06  2:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06  2:08 [PATCH] Minor scheduler comment fix Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®