lkml.org 
[lkml]   [2003]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] sched-HT-2.6.0-test11-A5
On Mon, Dec 08, 2003 at 09:56:22AM -0800, William Lee Irwin III wrote:
> Furthermore, sched_map_runqueue() is performed after all the idle
> threads are running and all the notifiers have kicked the migration
> threads, but does no locking whatsoever.

Not quite true for migration threads; they're kicked off smp_init(),
called strictly after smp_prepare_cpus(), so all's well with them.
The idle threads shouldn't enter schedule() either, since
start_secondary() spins until smp_init() sets the smp_commenced_mask
bits in cpu_up().

So the important parts of all that were unfortunately all wrong. I'll
look again.


-- wli
-
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:59    [W:0.057 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site