Re: sched domains bringup race?

From: Nick Piggin
Date: Thu Jul 15 2004 - 23:12:08 EST


Dave Hansen wrote:
On Thu, 2004-07-15 at 20:03, Nick Piggin wrote:

It shouldn't because sched_init sets up dummy domains for
all runqueues.

Obviously something is going wrong somewhere though.


Hmmm, but there still might be some concurrency problems, right? There
isn't any locking while the setup is being done, so are all of the
intermediate initialization states valid? Or, could one of the CPUs be
catching the init code in the middle of an operation?


cpu_attach_domain is supposed to be able to do the switchover
without any races.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/